ConsumableAiTests: the refit re-admits the agent as a pilot (Zone.Remove drops the agent on this branch)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
1519aa8f44
commit
ff34648371
1 changed files with 2 additions and 1 deletions
|
|
@ -345,7 +345,8 @@ public sealed class ConsumableAiTests : IDisposable
|
|||
Assert.True(s.Zone.Remove(s.Agent));
|
||||
s.Agent.Deactivate();
|
||||
fit(s.Agent);
|
||||
s.Zone.Admit(s.Agent, piloted: false); // back in, the agent's Minion keeps its CombatState
|
||||
s.Zone.Admit(s.Agent, piloted: true); // back in as a pilot: the zone gives it a new Minion and CombatState
|
||||
s.Zone.Agents.Single().Task = null; // no orbits to patrol in the test zone
|
||||
s.Place(30f, 0f);
|
||||
s.Zone.Update(.05f);
|
||||
s.Zone.Update(.05f);
|
||||
|
|
|
|||
Loading…
Reference in a new issue