summaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_mapgen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/lua_api/l_mapgen.h')
-rw-r--r--src/script/lua_api/l_mapgen.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/lua_api/l_mapgen.h b/src/script/lua_api/l_mapgen.h
index 713069633..aebbcbac6 100644
--- a/src/script/lua_api/l_mapgen.h
+++ b/src/script/lua_api/l_mapgen.h
@@ -44,6 +44,9 @@ private:
// returns the requested object used during map generation
static int l_get_mapgen_object(lua_State *L);
+ // get_spawn_level(x = num, z = num)
+ static int l_get_spawn_level(lua_State *L);
+
// get_mapgen_params()
// returns the currently active map generation parameter set
static int l_get_mapgen_params(lua_State *L);