forked from MineClone5/MineClone5
Sleep takes 5 seconds instead of 2
This commit is contained in:
parent
a46064bd92
commit
f5010ec32a
|
@ -242,7 +242,7 @@ function mcl_beds.on_rightclick(pos, player)
|
||||||
|
|
||||||
-- skip the night and let all players stand up
|
-- skip the night and let all players stand up
|
||||||
if check_in_beds() then
|
if check_in_beds() then
|
||||||
minetest.after(2, function()
|
minetest.after(5, function()
|
||||||
if not is_sp then
|
if not is_sp then
|
||||||
update_formspecs(is_night_skip_enabled())
|
update_formspecs(is_night_skip_enabled())
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue