Skip to content

Commit

Permalink
Make beds not skip night if nobody is online
Browse files Browse the repository at this point in the history
  • Loading branch information
Ekdohibs committed May 14, 2015
1 parent 46c6154 commit 3669ca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mods/beds/functions.lua
Expand Up @@ -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)
Expand Down

0 comments on commit 3669ca0

Please sign in to comment.