]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/script/lua_api/l_base.cpp
Merge branch 'master' of https://github.com/minetest/minetest
[dragonfireclient.git] / src / script / lua_api / l_base.cpp
index f842671b848f6517694a49da6d0fcfe6a8bb8514..fce6282a59055e1232a3b8daaafcfb0c44929d3b 100644 (file)
@@ -55,6 +55,11 @@ Client *ModApiBase::getClient(lua_State *L)
 {
        return getScriptApiBase(L)->getClient();
 }
+
+Game *ModApiBase::getGame(lua_State *L)
+{
+       return getScriptApiBase(L)->getGame();
+}
 #endif
 
 IGameDef *ModApiBase::getGameDef(lua_State *L)