summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua_enviroment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/src/mlua_enviroment.cpp')
-rw-r--r--plugins/MirLua/src/mlua_enviroment.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/mlua_enviroment.cpp b/plugins/MirLua/src/mlua_enviroment.cpp
index 268afc46b0..4e7225fd16 100644
--- a/plugins/MirLua/src/mlua_enviroment.cpp
+++ b/plugins/MirLua/src/mlua_enviroment.cpp
@@ -23,7 +23,7 @@ CMLuaEnviroment::~CMLuaEnviroment()
CMLuaEnviroment* CMLuaEnviroment::GetEnviroment(lua_State *L)
{
if (!luaM_getenv(L))
- return NULL;
+ return nullptr;
lua_rawgeti(L, -1, NULL);
CMLuaEnviroment *env = (CMLuaEnviroment*)lua_touserdata(L, -1);