summaryrefslogtreecommitdiff
path: root/client/game.lua
diff options
context:
space:
mode:
Diffstat (limited to 'client/game.lua')
-rw-r--r--client/game.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/game.lua b/client/game.lua
index 9b483a8..30dcd75 100644
--- a/client/game.lua
+++ b/client/game.lua
@@ -87,7 +87,7 @@ function M.update(dt)
local pos if j.pos then pos = Pos(j.pos.x,j.pos.y) end
if j.type == 'player' then
players[j.name] = {name=j.name,pos=pos,color=j.color,at=t}
- msgbox.add(j.name..' joined')
+ if t > 1 then msgbox.add(j.name..' joined') end
elseif j.type == 'unplayer' then players[j.from] = nil msgbox.add(j.from..' left')
elseif j.type == 'move' then moveplayer(players[j.from],pos)
elseif j.type == 'chunk' then chunks:add(pos,{d=rle.decode(j.d)})