projects
/
oweals
/
minetest_game.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46c6154
)
Make beds not skip night if nobody is online
author
Novatux
<nathanael.courant@laposte.net>
Thu, 14 May 2015 12:41:26 +0000
(14:41 +0200)
committer
Novatux
<nathanael.courant@laposte.net>
Thu, 14 May 2015 12:41:26 +0000
(14:41 +0200)
mods/beds/functions.lua
patch
|
blob
|
history
diff --git
a/mods/beds/functions.lua
b/mods/beds/functions.lua
index 8cb28483e5912352aec75a4ecafad4b035c2ffea..4c5c7d16fea08d5d7ca1e3fa29e72aebd5d38087 100644
(file)
--- a/
mods/beds/functions.lua
+++ b/
mods/beds/functions.lua
@@
-34,7
+34,7
@@
local function check_in_beds(players)
end
end
- return
true
+ return
#players > 0
end
local function lay_down(player, pos, bed_pos, state, skip)