Tidy format up a bit

This commit is contained in:
Diavolo 2022-01-08 13:44:09 +01:00
parent c833a57508
commit 3a9ec90127
No known key found for this signature in database
GPG Key ID: FA77F074E98D98A5

View File

@ -652,10 +652,7 @@ namespace Components
}
const auto toggle = Game::Scr_GetInt(0);
Game::scrVmPub->debugCode = (toggle)
? true
: false;
Game::scrVmPub->debugCode = (toggle) ? true : false;
});
}
@ -667,7 +664,7 @@ namespace Components
Utils::Hook(0x426C2D, Script::StoreScriptBaseProgramNumStub, HOOK_JUMP).install()->quick();
Utils::Hook(0x42281B, Script::Scr_PrintPrevCodePosStub, HOOK_JUMP).install()->quick();
// enable scr_error printing if in developer
// Enable scr_error printing if in developer
Dvar::OnInit([]()
{
int developer = Dvar::Var("developer").get<int>();