mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-01-20 02:24:45 +00:00
oops
This commit is contained in:
parent
acb9cae3fc
commit
e32e67a00d
|
|
@ -276,7 +276,7 @@ class HackCaptureActor extends Actor {
|
|||
&& base._2.GUID != building.GUID)
|
||||
val zoneTowers = building.Zone.Buildings.filter(tower =>
|
||||
tower._2.BuildingType == StructureType.Tower && tower._2.Faction != hackedByFaction)
|
||||
// All major facilities in zone are now owned by the hacking faction. Capture all towers in the zone
|
||||
// All major facilities in zone are now owned by the hacking faction. Capture all remaining towers in the zone
|
||||
// Base that was just hacked is not counted (hence the size - 1) because it wasn't always in ownedBases (async?)
|
||||
if (zoneBases.size - 1 == ownedBases.size && zoneTowers.nonEmpty)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue