Fix ActionQueue.PerformActions executing actions out of order
This commit is contained in:
@@ -36,7 +36,7 @@ namespace OpenRA.FileFormats
|
|||||||
while (!actions.Empty && actions.Peek().Time <= t)
|
while (!actions.Empty && actions.Peek().Time <= t)
|
||||||
{
|
{
|
||||||
var da = actions.Pop();
|
var da = actions.Pop();
|
||||||
a += da.Action;
|
a = da.Action + a;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
a();
|
a();
|
||||||
|
|||||||
Reference in New Issue
Block a user