From c92209eae7c5d98d4d8c282ff30d705bb9481372 Mon Sep 17 00:00:00 2001 From: cheapie Date: Thu, 5 Feb 2015 03:10:01 +0100 Subject: Add call to save settings to file --- init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/init.lua b/init.lua index e37aa8b..4c07bf8 100644 --- a/init.lua +++ b/init.lua @@ -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, }) -- cgit v1.2.3