Skip to content

Commit 09e5300

Browse files
committed
Clam
1 parent 95d236c commit 09e5300

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

RSDKv4/Script.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4863,11 +4863,11 @@ void ProcessScript(int scriptCodePtr, int jumpTablePtr, byte scriptEvent)
48634863
break;
48644864
}
48654865
case FUNC_RETURN:
4866-
opcodeSize = 0;
4867-
if (!functionStackPos) { //event, stop running
4866+
opcodeSize = 0;
4867+
if (!functionStackPos) { // event, stop running
48684868
running = false;
48694869
}
4870-
else { //function, jump out
4870+
else { // function, jump out
48714871
scriptCodePtr = functionStack[--functionStackPos];
48724872
jumpTablePtr = functionStack[--functionStackPos];
48734873
scriptDataPtr = functionStack[--functionStackPos];

0 commit comments

Comments
 (0)