From f171b3c3203c3dba21d620876d32bb995a3a0fa5 Mon Sep 17 00:00:00 2001 From: biglyderv Date: Mon, 25 Nov 2024 14:14:20 -0500 Subject: [PATCH] fix ug --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index f231196..47ecff8 100644 --- a/index.js +++ b/index.js @@ -46,7 +46,7 @@ app.ws('/', function (ws, req) { }) ws.on('close', function () { - console.log(`A player ${you} left`); + console.log(`A player ${game.entities[playerI].you} left`); ws.active = false; player.health = -1; })