mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-07-15 16:34:39 +00:00
include towers
This commit is contained in:
parent
6597e8be32
commit
53ba117f23
1 changed files with 2 additions and 1 deletions
|
|
@ -182,7 +182,8 @@ class ZoneActor(
|
||||||
|
|
||||||
case ZoneMapUpdate() =>
|
case ZoneMapUpdate() =>
|
||||||
zone.Buildings
|
zone.Buildings
|
||||||
.filter(_._2.BuildingType == StructureType.Facility)
|
.filter(building =>
|
||||||
|
building._2.BuildingType == StructureType.Facility || building._2.BuildingType == StructureType.Tower)
|
||||||
.values
|
.values
|
||||||
.foreach(_.Actor ! BuildingActor.MapUpdate())
|
.foreach(_.Actor ! BuildingActor.MapUpdate())
|
||||||
Behaviors.same
|
Behaviors.same
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue