summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/script/script_instance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/script_instance.cpp b/src/script/script_instance.cpp
index f5039ffbc..5df06ad89 100644
--- a/src/script/script_instance.cpp
+++ b/src/script/script_instance.cpp
@@ -591,7 +591,7 @@ bool ScriptInstance::IsPaused()
case SQSL_BOOL: {
SlObject(NULL, _script_byte);
- if (vm != NULL) sq_pushinteger(vm, (SQBool)(_script_sl_byte != 0));
+ if (vm != NULL) sq_pushbool(vm, (SQBool)(_script_sl_byte != 0));
return true;
}