-
-
Save benrob0329/530e55e5c571fa2255f8e52c713e176d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function tardis.load_map(pos) | |
local node = minetest.get_node_or_nil(pos) | |
if (node) then | |
return true | |
else | |
print("loading map") | |
minetest.emerge_area(pos, pos) | |
minetest.after(100, tardis.load_map(pos)) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment