X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=game.js;h=fa290681f2fc85117500a0c883683c9fb230ead7;hb=4c3572dcbf3e133c9f3d0c7d295f412ff5b88763;hp=55145bbaee018b89d37aff24c2c617f907fc1636;hpb=239210c6be9b15e3ee31cc28d4e7e5f83ababd89;p=lmno-server diff --git a/game.js b/game.js index 55145bb..fa29068 100644 --- a/game.js +++ b/game.js @@ -184,6 +184,7 @@ class Game { this.broadcast_event("player-enter", existing.info_json()); } existing.add_connection(connection); + this.players_by_session[session.id] = existing; return existing; }