Keep reactive surfaces on daemon frame versions
This commit is contained in:
parent
a102819b2c
commit
63d11c201f
2 changed files with 3 additions and 2 deletions
|
|
@ -953,6 +953,8 @@ internal sealed class AetheriaDaemonYmirSmokeChecks
|
|||
node.Kind is "feedback.event" or "shot.receipt"),
|
||||
"the static pilot surface must not retain mutable gameplay facts");
|
||||
var reactive = AetheriaRuntimeDaemonGameSurfaceBuilder.BuildReactiveGameplay(tick.Frame);
|
||||
Require(reactive.Version == interruption.FrameId,
|
||||
"reactive Eve surfaces and command receipts must share daemon frame-version semantics");
|
||||
Require(Flatten(reactive.Surface.Root).Any(node => node.Kind == "feedback.event" &&
|
||||
node.Props["eventKind"] == "simulation.interrupted" &&
|
||||
node.Props["reason"] == "entity.damaged" &&
|
||||
|
|
|
|||
Loading…
Reference in a new issue