diff --git a/mods/cheats.lua b/mods/cheats.lua index 21b663d3..c153af73 100644 --- a/mods/cheats.lua +++ b/mods/cheats.lua @@ -349,7 +349,7 @@ end --- @param value boolean local function update_cheat(index, value) for i, cheat in ipairs(sCheats) do - if i == index then + if i == index + 1 then gPlayerSyncTable[0][cheat.codename] = value end end