boomers still go neutral

This commit is contained in:
ScrawnyRonnie 2025-02-03 06:46:22 -05:00
parent dd87d5da89
commit e9336f52a6

View file

@ -68,7 +68,12 @@ trait DeployableBehavior {
if DeployableObject.OwnerGuid.nonEmpty =>
val obj = DeployableObject
if (constructed.contains(true)) {
loseOwnership(obj, obj.Faction)
if (obj.Definition.DeployCategory == DeployableCategory.Boomers) {
loseOwnership(obj, PlanetSideEmpire.NEUTRAL)
}
else {
loseOwnership(obj, obj.Faction)
}
} else {
obj.OwnerGuid = None
}