diff --git a/libultraship/libultraship/GameSettings.cpp b/libultraship/libultraship/GameSettings.cpp index 6ac40b28e..126c0f07c 100644 --- a/libultraship/libultraship/GameSettings.cpp +++ b/libultraship/libultraship/GameSettings.cpp @@ -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); diff --git a/libultraship/libultraship/SohImGuiImpl.cpp b/libultraship/libultraship/SohImGuiImpl.cpp index 2dd5b9a1c..0539e6778 100644 --- a/libultraship/libultraship/SohImGuiImpl.cpp +++ b/libultraship/libultraship/SohImGuiImpl.cpp @@ -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; }