mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-07-13 23:44:40 +00:00
boomers still go neutral
This commit is contained in:
parent
dd87d5da89
commit
e9336f52a6
1 changed files with 6 additions and 1 deletions
|
|
@ -68,7 +68,12 @@ trait DeployableBehavior {
|
||||||
if DeployableObject.OwnerGuid.nonEmpty =>
|
if DeployableObject.OwnerGuid.nonEmpty =>
|
||||||
val obj = DeployableObject
|
val obj = DeployableObject
|
||||||
if (constructed.contains(true)) {
|
if (constructed.contains(true)) {
|
||||||
loseOwnership(obj, obj.Faction)
|
if (obj.Definition.DeployCategory == DeployableCategory.Boomers) {
|
||||||
|
loseOwnership(obj, PlanetSideEmpire.NEUTRAL)
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
loseOwnership(obj, obj.Faction)
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
obj.OwnerGuid = None
|
obj.OwnerGuid = None
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue