summaryrefslogtreecommitdiff
path: root/client/game.lua
diff options
context:
space:
mode:
Diffstat (limited to 'client/game.lua')
-rw-r--r--client/game.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/game.lua b/client/game.lua
index e219fef..4fc148b 100644
--- a/client/game.lua
+++ b/client/game.lua
@@ -197,11 +197,11 @@ local function handle_net()
color=pl.color, id=pl.id,
username = pl.username,
}
- msgbox.add(pl.id.." joined")
+ msgbox.add(pl.username.." joined")
elseif op == "leave" then
local id = j.id
+ msgbox.add(remote_players[id].username.." left")
remote_players[id]=nil
- msgbox.add(id.." left")
elseif op == "move" then
local id,x,y = j.id,j.x,j.y
assert(remote_players[id],"wheeze "..id)