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:
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user