Fix default.is_day()
This commit is contained in:
parent
07092f84a7
commit
31b9d5fab5
@ -12,8 +12,8 @@ end
|
|||||||
function default.is_day()
|
function default.is_day()
|
||||||
local tod = minetest.get_timeofday()
|
local tod = minetest.get_timeofday()
|
||||||
if tod > 0.2 and tod < 0.805 then
|
if tod > 0.2 and tod < 0.805 then
|
||||||
return false
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
return true
|
return false
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user