fixed flag oversight

This commit is contained in:
stratomaster64 2022-04-15 21:24:54 -04:00
commit 9966494447
2 changed files with 2 additions and 2 deletions

View file

@ -134,7 +134,7 @@ namespace Game {
CVar_SetS32("gEzISG", Settings.cheats.ez_isg);
Settings.cheats.no_restrict_item = stob(Conf[CheatSection]["no_restrict_item"]);
CVar_SetS32("gNoRestrictItem", Settings.cheats.no_restrict_item);
CVar_SetS32("gNoRestrictItems", Settings.cheats.no_restrict_item);
Settings.cheats.freeze_time = stob(Conf[CheatSection]["freeze_time"]);
CVar_SetS32("gFreezeTime", Settings.cheats.freeze_time);

View file

@ -479,7 +479,7 @@ namespace SohImGui {
}
if (ImGui::Checkbox("Unrestricted Items", &Game::Settings.cheats.no_restrict_item)) {
CVar_SetS32("gNoRestrictItem", Game::Settings.cheats.no_restrict_item);
CVar_SetS32("gNoRestrictItems", Game::Settings.cheats.no_restrict_item);
needs_save = true;
}