remove command crash, when compiling on release

This commit is contained in:
sr0 2016-11-04 20:26:19 +01:00
parent 8d344dd578
commit f0a5d1d46d

View File

@ -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");