diff options
Diffstat (limited to 'src/script/lua_api/l_localplayer.h')
-rw-r--r-- | src/script/lua_api/l_localplayer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/lua_api/l_localplayer.h b/src/script/lua_api/l_localplayer.h index e56ec808f..e618e6be5 100644 --- a/src/script/lua_api/l_localplayer.h +++ b/src/script/lua_api/l_localplayer.h @@ -67,7 +67,7 @@ private: static int l_get_movement(lua_State *L); - LocalPlayer *m_localplayer; + LocalPlayer *m_localplayer = nullptr; public: LuaLocalPlayer(LocalPlayer *m); |