Allow queueing up scatter and move Nudge to an activity

This commit is contained in:
Gustas
2022-12-02 00:31:07 +02:00
committed by Matthias Mailänder
parent 54dac39e83
commit 3ab421cbe3
8 changed files with 86 additions and 41 deletions

View File

@@ -249,7 +249,7 @@ namespace OpenRA.Mods.Cnc.Traits
new LocationInit(self.Location),
new OwnerInit(self.Owner)
});
driver.TraitOrDefault<Mobile>()?.Nudge(driver);
driver.QueueActivity(false, new Nudge(driver));
}
}
}