mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 13:53:45 +01:00
Add forgotten =
This commit is contained in:
parent
03be736566
commit
16c73c1cb6
@ -38,7 +38,7 @@ local function check_in_beds(players)
|
|||||||
if not players then
|
if not players then
|
||||||
players = minetest.get_connected_players()
|
players = minetest.get_connected_players()
|
||||||
end
|
end
|
||||||
if player_in_bed < 0 then
|
if player_in_bed <= 0 then
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
return players_in_bed_setting() <= (player_in_bed * 100) / #players
|
return players_in_bed_setting() <= (player_in_bed * 100) / #players
|
||||||
|
Loading…
Reference in New Issue
Block a user