Skip to content

Commit

Permalink
Fix Cheats Menu Mod Again (#238)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
JairoThePlumber authored Jul 21, 2024
1 parent 5ba48c0 commit e4bdb1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mods/cheats.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e4bdb1f

Please sign in to comment.