aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_minimap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/lua_api/l_minimap.cpp')
-rw-r--r--src/script/lua_api/l_minimap.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/script/lua_api/l_minimap.cpp b/src/script/lua_api/l_minimap.cpp
index afb3766fb..be981c884 100644
--- a/src/script/lua_api/l_minimap.cpp
+++ b/src/script/lua_api/l_minimap.cpp
@@ -24,9 +24,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "minimap.h"
#include "settings.h"
-LuaMinimap::LuaMinimap(Minimap *m)
+LuaMinimap::LuaMinimap(Minimap *m) : m_minimap(m)
{
- m_minimap = m;
}
void LuaMinimap::create(lua_State *L, Minimap *m)