ARMYGROUP - in tracing, formation flag can be empty

This commit is contained in:
Applevangelist 2021-11-26 15:36:46 +01:00
parent f8b9128d8e
commit 7280ceac32

View File

@ -1705,7 +1705,8 @@ function ARMYGROUP:SwitchFormation(Formation, Permanently, NoRouteUpdate)
if self:IsAlive() or self:IsInUtero() then
Formation=Formation or self.optionDefault.Formation
Permanently = Permanently or false
if Permanently then
self.formationPerma=Formation
else