fix death

This commit is contained in:
Alberto Xamin 2020-12-05 00:14:29 +01:00
parent 98a6d225b7
commit 1c26f61fc6
No known key found for this signature in database
GPG Key ID: 4F026F48309500A2

View File

@ -236,7 +236,7 @@ class Game:
corpse = self.players.pop(index)
if not disconnected:
self.dead_players.append()
self.dead_players.append(corpse)
self.notify_room()
self.sio.emit('chat_message', room=self.name, data=f'_died|{player.name}')
if self.started: