mirror of
https://github.com/minetest-mods/time_regulation.git
synced 2025-01-09 09:30:24 +01:00
Merge pull request #3 from minetest-mods/sofar-patch-1
Fix typo that breaks the whole mod's purpose.
This commit is contained in:
commit
a4a09c5cfd
2
init.lua
2
init.lua
@ -145,7 +145,7 @@ function time_reg.loop(loop, forceupdate)
|
|||||||
minetest.set_timeofday(time_reg.threshold.day / 24000)
|
minetest.set_timeofday(time_reg.threshold.day / 24000)
|
||||||
minetest.log("action", "[TimeRegulation] Entering night period : period skipped")
|
minetest.log("action", "[TimeRegulation] Entering night period : period skipped")
|
||||||
else
|
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)
|
minetest.log("action", "[TimeRegulation] Entering night period : time_speed " .. time_reg.night_time_speed)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user