This commit is contained in:
biglyderv 2024-11-25 14:14:20 -05:00
parent 3164a974b6
commit f171b3c320

View file

@ -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;
})