mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-01-19 18:14:44 +00:00
cya llu
This commit is contained in:
parent
aa0ae5f731
commit
83ccdc8d73
|
|
@ -28,7 +28,6 @@ import scala.util.{Random, Success}
|
|||
*/
|
||||
class HackCaptureActor extends Actor {
|
||||
private[this] val log = org.log4s.getLogger
|
||||
|
||||
/** main timer for completing or clearing hacked states */
|
||||
private var clearTrigger: Cancellable = Default.Cancellable
|
||||
/** list of currently hacked server objects */
|
||||
|
|
@ -168,6 +167,7 @@ class HackCaptureActor extends Actor {
|
|||
case Some((owner, _, _)) =>
|
||||
log.error(s"TrySpawnCaptureFlag: couldn't find any neighbouring $hackingFaction facilities of ${owner.Name} for LLU hack")
|
||||
owner.GetFlagSocket.foreach { _.clearOldFlagData() }
|
||||
terminal.Zone.LocalEvents ! CaptureFlagManager.Lost(owner.GetFlag.get, CaptureFlagLostReasonEnum.Ended)
|
||||
false
|
||||
case _ =>
|
||||
log.error(s"TrySpawnCaptureFlag: expecting a terminal ${terminal.GUID.guid} with the ctf owning facility")
|
||||
|
|
|
|||
Loading…
Reference in a new issue