condition to restrict soi selection if no soi information was constructed

This commit is contained in:
FateJH 2020-01-04 00:39:59 -05:00
parent 6e678373d2
commit d7ee2be46b

View file

@ -35,7 +35,7 @@ class SphereOfInfluenceActor(zone: Zone) extends Actor {
}
def Stopped : Receive = Build.orElse {
case SOI.Start() =>
case SOI.Start() if sois.nonEmpty =>
context.become(Running)
UpdateSOI()