fix oversight with how water players get removed

This commit is contained in:
nhaar 2024-09-16 15:10:44 -03:00
parent 0146804287
commit 55d8a15288

View File

@ -738,14 +738,17 @@ class CardJitsuWaterLogic(IWaddle):
# CMD_PLAYER_KILL, meant for players who lose from falling # CMD_PLAYER_KILL, meant for players who lose from falling
player_kill_data = [] player_kill_data = []
for player in players_in_row: for player in players_in_row:
player_kill_data.append( amulet = None
f"pk&{player.seat_id}&{position}&{amulet.serialize()}&false"
)
if not player.left: if not player.left:
amulet = await self.update_player_progress( amulet = await self.update_player_progress(
player, fell=True, position=position player, fell=True, position=position
) )
else:
amulet = Amulet(None, False)
player_kill_data.append(
f"pk&{player.seat_id}&{position}&{amulet.serialize()}&false"
)
await self.send_zm(":".join(player_kill_data)) await self.send_zm(":".join(player_kill_data))