Fix several "undeclared global" errors

This commit is contained in:
Wuzzy 2019-02-08 22:44:26 +01:00
parent fb3db5077c
commit a7d429a017
4 changed files with 7 additions and 6 deletions

View file

@ -1,5 +1,7 @@
mcl_spawn = {}
local mg_name = minetest.get_mapgen_setting("mg_name")
-- Returns current spawn position of player.
-- If player is nil or not a player, the default spawn point is returned.
-- The second return value is true if spawn point is player-chosen,