mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-01-19 18:14:44 +00:00
permission to spawn again
This commit is contained in:
parent
18fa6aac98
commit
a8427542d1
|
|
@ -76,7 +76,7 @@ class SpawnTubeControl(tube: SpawnTube)
|
|||
}
|
||||
|
||||
def powerTurnOffCallback(): Unit = {
|
||||
tube.offline = false
|
||||
tube.offline = true
|
||||
stopAutoRepair()
|
||||
tube.Owner match {
|
||||
case b: Building => b.Actor ! BuildingActor.AmenityStateChange(tube)
|
||||
|
|
@ -85,7 +85,7 @@ class SpawnTubeControl(tube: SpawnTube)
|
|||
}
|
||||
|
||||
def powerTurnOnCallback(): Unit = {
|
||||
tube.offline = true
|
||||
tube.offline = false
|
||||
tryAutoRepair()
|
||||
tube.Owner match {
|
||||
case b: Building => b.Actor ! BuildingActor.AmenityStateChange(tube)
|
||||
|
|
|
|||
Loading…
Reference in a new issue