From ee088c0022305e015c41aa1db9d858474574f9cc Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Fri, 16 Oct 2026 11:05:39 +0200 Subject: [PATCH] tools/lan_e2e.py: walls sees a dead guest by its death screen too Co-Authored-By: Claude Opus 5.5 --- tools/lan_e2e.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/lan_e2e.py b/tools/lan_e2e.py index 3c292c614..9ea631c4f 100755 --- a/tools/lan_e2e.py +++ b/tools/lan_e2e.py @@ -531,7 +531,8 @@ def check_walls(host, guest, out): # (TEXT_SEE_THROUGH), but not once the guest crouches (Entity.isDiscrete). for g in (host, guest): back_to_game(g) - if remote(guest)['health'] <= 0: + # The trial spawner's zombies may have killed the guest. + if guest('state').get('screen') == 'dead' or remote(guest)['health'] <= 0: guest.raw('respawn') guest.wait(40) face_each_other(host, guest)