mirror of
https://github.com/pmret/papermario.git
synced 2024-11-30 17:10:23 +00:00
Dumb mistake
This commit is contained in:
parent
58b2a01a58
commit
9496d860e4
@ -52,7 +52,7 @@ void* kill_script_by_ID(s32 id) {
|
||||
s32 i;
|
||||
script_context* scriptContextPtr;
|
||||
|
||||
for (i = 1; i < ARRAY_COUNT(gCurrentScriptListPtr); i++) {
|
||||
for (i = 0; i < ARRAY_COUNT(gCurrentScriptListPtr); i++) {
|
||||
scriptContextPtr = (*gCurrentScriptListPtr)[i];
|
||||
if (scriptContextPtr != NULL && scriptContextPtr->uniqueID == id) {
|
||||
kill_script(scriptContextPtr);
|
||||
|
Loading…
Reference in New Issue
Block a user