revert settings:get_pos since not implemented in mt-0.4.16

This commit is contained in:
Alexander Weber 2017-06-20 11:36:18 +02:00
parent 577a6ddcc5
commit 862244510e

View File

@ -2,7 +2,7 @@
ccompass = {} ccompass = {}
-- default target to static_spawnpoint or 0/0/0 -- default target to static_spawnpoint or 0/0/0
ccompass.default_target = minetest.settings:get_pos("static_spawnpoint") or {x=0, y=0, z=0} ccompass.default_target = minetest.setting_get_pos("static_spawnpoint") or {x=0, y=0, z=0}
-- Re-calibration allowed -- Re-calibration allowed
ccompass.recalibrate = minetest.settings:get_bool("ccompass_recalibrate") ccompass.recalibrate = minetest.settings:get_bool("ccompass_recalibrate")