mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-07-13 07:24:53 +00:00
commit
0427f37ff8
1 changed files with 2 additions and 2 deletions
|
|
@ -76,7 +76,7 @@ class SpawnTubeControl(tube: SpawnTube)
|
||||||
}
|
}
|
||||||
|
|
||||||
def powerTurnOffCallback(): Unit = {
|
def powerTurnOffCallback(): Unit = {
|
||||||
tube.offline = false
|
tube.offline = true
|
||||||
stopAutoRepair()
|
stopAutoRepair()
|
||||||
tube.Owner match {
|
tube.Owner match {
|
||||||
case b: Building => b.Actor ! BuildingActor.AmenityStateChange(tube)
|
case b: Building => b.Actor ! BuildingActor.AmenityStateChange(tube)
|
||||||
|
|
@ -85,7 +85,7 @@ class SpawnTubeControl(tube: SpawnTube)
|
||||||
}
|
}
|
||||||
|
|
||||||
def powerTurnOnCallback(): Unit = {
|
def powerTurnOnCallback(): Unit = {
|
||||||
tube.offline = true
|
tube.offline = false
|
||||||
tryAutoRepair()
|
tryAutoRepair()
|
||||||
tube.Owner match {
|
tube.Owner match {
|
||||||
case b: Building => b.Actor ! BuildingActor.AmenityStateChange(tube)
|
case b: Building => b.Actor ! BuildingActor.AmenityStateChange(tube)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue