remove command crash, when compiling on release
This commit is contained in:
parent
8d344dd578
commit
f0a5d1d46d
@ -394,10 +394,12 @@ namespace Components
|
|||||||
QuickPatch::UnlockStats();
|
QuickPatch::UnlockStats();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
#if DEBUG
|
||||||
Command::Add("crash", [] (Command::Params)
|
Command::Add("crash", [] (Command::Params)
|
||||||
{
|
{
|
||||||
throw new std::exception();
|
throw new std::exception();
|
||||||
});
|
});
|
||||||
|
#endif
|
||||||
|
|
||||||
// Dvars
|
// Dvars
|
||||||
Dvar::Register<bool>("ui_streamFriendly", 0, Game::DVAR_FLAG_SAVED, "Stream friendly UI");
|
Dvar::Register<bool>("ui_streamFriendly", 0, Game::DVAR_FLAG_SAVED, "Stream friendly UI");
|
||||||
|
Loading…
Reference in New Issue
Block a user