diff options
Diffstat (limited to 'builtin/game')
-rw-r--r-- | builtin/game/misc.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/builtin/game/misc.lua b/builtin/game/misc.lua index 040016333..7caa9e7ba 100644 --- a/builtin/game/misc.lua +++ b/builtin/game/misc.lua @@ -89,7 +89,9 @@ local player_list = {} core.register_on_joinplayer(function(player) local player_name = player:get_player_name() player_list[player_name] = player - core.chat_send_all("*** " .. player_name .. " joined the game.") + if not minetest.is_singleplayer() then + core.chat_send_all("*** " .. player_name .. " joined the game.") + end end) core.register_on_leaveplayer(function(player, timed_out) |