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