1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-16 18:01:40 +00:00

Add minetest.is_singleplayer()

This commit is contained in:
Perttu Ahola 2012-03-28 13:22:48 +03:00
parent 9e0f969b8b
commit ae7aa65069
3 changed files with 11 additions and 0 deletions

View file

@ -424,6 +424,7 @@ minetest.get_modpath(modname) -> eg. "/home/user/.minetest/usermods/modname"
^ Useful for loading additional .lua modules or static data from mod
minetest.get_worldpath() -> eg. "/home/user/.minetest/world"
^ Useful for storing custom data
minetest.is_singleplayer()
minetest.debug(line)
^ Goes to dstream