Skip to content

Commit

Permalink
[VM] Fix parent/child interactions
Browse files Browse the repository at this point in the history
(no, not the kind with real children - tso's nested interaction system)
  • Loading branch information
riperiperi committed Dec 8, 2019
1 parent aa213fc commit b5765dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TSOClient/tso.simantics/Engine/VMThread.cs
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ public void EnqueueAction(VMQueuedAction invocation)
else if ((invocation.Flags & TTABFlags.FSOPushHead) > 0)
//place right after active interaction, ignoring all priorities.
this.Queue.Insert(ActiveQueueBlock + 1, invocation);
else if (((invocation.Flags & TTABFlags.FSOPushTail) | leapfrog) > 0 && invocation.Mode != VMQueueMode.ParentExit)
else if ((invocation.Flags & (TTABFlags.FSOPushTail | leapfrog)) > 0 && invocation.Mode != VMQueueMode.ParentExit)
{
//this one's weird. start at the left til there's a lower priority. (eg. parent exit or idle)
bool hitParentEnd = (invocation.Mode != VMQueueMode.ParentIdle);
Expand Down

0 comments on commit b5765dd

Please sign in to comment.