Merge pull request #3 from minetest-mods/sofar-patch-1

Fix typo that breaks the whole mod's purpose.
This commit is contained in:
LeMagnesium 2016-03-10 18:31:50 +01:00
commit a4a09c5cfd

View File

@ -145,7 +145,7 @@ function time_reg.loop(loop, forceupdate)
minetest.set_timeofday(time_reg.threshold.day / 24000)
minetest.log("action", "[TimeRegulation] Entering night period : period skipped")
else
minetest.setting_set("tims_speed", time_reg.night_time_speed)
minetest.setting_set("time_speed", time_reg.night_time_speed)
minetest.log("action", "[TimeRegulation] Entering night period : time_speed " .. time_reg.night_time_speed)
end
end