Skip to content

Commit cc82371

Browse files
authored
Fix 0AB2 return params in legacy scripts. (#213)
1 parent 468e2d7 commit cc82371

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/CCustomOpcodeSystem.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1120,7 +1120,7 @@ namespace CLEO
11201120
returnParamCount = declaredParamCount;
11211121
}
11221122

1123-
return GetInstance().OpcodeSystem.CleoReturnGeneric(0x0AB2, thread, !IsLegacyScript(thread), returnParamCount);
1123+
return GetInstance().OpcodeSystem.CleoReturnGeneric(0x0AB2, thread, true, returnParamCount, !IsLegacyScript(thread));
11241124
}
11251125

11261126
//0AB3=2,set_cleo_shared_var %1d% = %2d%

0 commit comments

Comments
 (0)