From e4bdb1fb17c6096ccee16e820a21b1d60212bf57 Mon Sep 17 00:00:00 2001 From: JairoThePlumber <133926100+JairoThePlumber@users.noreply.github.com> Date: Sun, 21 Jul 2024 15:54:45 -0700 Subject: [PATCH] Fix Cheats Menu Mod Again (#238) The Same Bug from Last Time is there but effects the first box instead, so I went to check and fixed what went wrong with the mod --- mods/cheats.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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