mirror of
https://github.com/solero/houdini.git
synced 2025-07-06 11:39:52 +00:00
fix oversight with how water players get removed
This commit is contained in:
parent
0146804287
commit
55d8a15288
@ -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))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user