forked from minetest/minetest_game
Make beds not skip night if nobody is online
This commit is contained in:
parent
46c6154444
commit
3669ca0a83
@ -34,7 +34,7 @@ local function check_in_beds(players)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
return true
|
return #players > 0
|
||||||
end
|
end
|
||||||
|
|
||||||
local function lay_down(player, pos, bed_pos, state, skip)
|
local function lay_down(player, pos, bed_pos, state, skip)
|
||||||
|
Loading…
Reference in New Issue
Block a user