summaryrefslogtreecommitdiffstats
path: root/src/scripting/luascript.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripting/luascript.cpp')
-rw-r--r--src/scripting/luascript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripting/luascript.cpp b/src/scripting/luascript.cpp
index f5fb6a4..2b9644d 100644
--- a/src/scripting/luascript.cpp
+++ b/src/scripting/luascript.cpp
@@ -155,7 +155,7 @@ bool LuaScript::resume()
#if LUA_VERSION_NUM < 502
int result = lua_resume(mCurrentState, tmpNbArgs);
#else
- int result = lua_resume(mCurrentState, NULL, tmpNbArgs);
+ int result = lua_resume(mCurrentState, nullptr, tmpNbArgs);
#endif
if (result == 0) // Thread is done