mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Merge branch 'main' into dev
This commit is contained in:
commit
b78c438871
1 changed files with 1 additions and 1 deletions
|
|
@ -349,7 +349,7 @@ end
|
||||||
--- @param value boolean
|
--- @param value boolean
|
||||||
local function update_cheat(index, value)
|
local function update_cheat(index, value)
|
||||||
for i, cheat in ipairs(sCheats) do
|
for i, cheat in ipairs(sCheats) do
|
||||||
if i == index then
|
if i == index + 1 then
|
||||||
gPlayerSyncTable[0][cheat.codename] = value
|
gPlayerSyncTable[0][cheat.codename] = value
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue