aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_localplayer.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/script/lua_api/l_localplayer.h2
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);