mirror of
https://github.com/minetest-mods/time_regulation.git
synced 2024-12-22 16:50:34 +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.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
|
||||
|
Loading…
Reference in New Issue
Block a user