Add call to save settings to file

master^2
cheapie 2015-02-05 03:10:01 +01:00
parent 44cb277ef0
commit c92209eae7
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ minetest.register_chatcommand("setspawn", {
local pos_string_2 = "Setting spawn point to ("..x..", "..y..", "..z..")"
minetest.setting_set("static_spawnpoint",pos_string)
spawn_spawnpos = pos
minetest.setting_save()
return true, pos_string_2
end,
})