lan_e2e guardian-beams: the host reads the guardian's own level

horizon-ctl's mobs answers from the server's level when the host runs on
its server thread, where the targeted player is Player, as in-frame.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ludovic Marie
2026-10-26 14:08:15 +01:00
parent 8c6ec16c99
commit ae63b23dd6
+3 -1
View File
@@ -6628,7 +6628,9 @@ def check_guardian_beams(host, guest, out):
states = charging()
assert states[0]['target'] == 'Player', states
if observer is host and not SERVER_THREAD:
# The host reads the level that ticks the guardian (its own in-frame, the
# server's on the server thread), where a targeted player is `Player`.
if observer is host:
assert states[1]['target'] == 'Player', states
else:
assert states[1]['target'].startswith('Mob('), states