Use Stop button on (production) buildings to reset rally point fixes #20414

This commit is contained in:
ThomasChr
2022-10-31 10:32:17 +01:00
committed by Gustas
parent ad269555d9
commit 6c348620f3
11 changed files with 68 additions and 4 deletions

View File

@@ -118,6 +118,12 @@ namespace OpenRA.Mods.Common.Traits
public void ResolveOrder(Actor self, Order order)
{
if (order.OrderString == "Stop")
{
Path.Clear();
return;
}
if (order.OrderString != OrderID)
return;