diff options
author | ubq323 <ubq323@ubq323.website> | 2025-06-10 19:53:40 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2025-06-10 19:53:40 +0100 |
commit | 3ecd10b9156d4a25a7c9b2d67d0d7a11aa8aa498 (patch) | |
tree | c052527e173beeb6a4b3a99fc89cf7450c24ce65 /client | |
parent | 8a159c4560c2e3a405c137c560531aa25cd65c36 (diff) |
Diffstat (limited to 'client')
-rw-r--r-- | client/game.lua | 2 |
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)}) |