mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-21 14:53:16 -04:00
Fix sentences
This commit is contained in:
parent
0c7673ff6b
commit
6681c60bf8
1 changed files with 6 additions and 6 deletions
|
@ -85,14 +85,14 @@ local function lay_down(player, pos, bed_pos, state, skip)
|
|||
-- Check if bed is occupied
|
||||
for _, other_pos in pairs(beds.bed_position) do
|
||||
if vector.distance(bed_pos, other_pos) < 0.1 then
|
||||
minetest.chat_send_player(name, S("This bed is already occupied!"))
|
||||
minetest.chat_send_player(name, S("This bed is already occupied."))
|
||||
return false
|
||||
end
|
||||
end
|
||||
|
||||
-- Check if player is moving
|
||||
if vector.length(player:get_player_velocity()) > 0.001 then
|
||||
minetest.chat_send_player(name, S("You have to stop moving before going to bed!"))
|
||||
minetest.chat_send_player(name, S("You have to stop moving before going to bed."))
|
||||
return false
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue