mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-03-04 04:30:21 +00:00
Fix NTU warning flag having the wrong data type (#224)
Fix LowNtuWarning having the wrong data type
This commit is contained in:
parent
b81ff2bbf4
commit
fc78d53ecb
4 changed files with 35 additions and 34 deletions
|
|
@ -4856,7 +4856,7 @@ class WorldSessionActor extends Actor with MDCContextAware {
|
|||
// Synchronise warning light & silo capacity
|
||||
var silo = amenity.asInstanceOf[ResourceSilo]
|
||||
sendResponse(PlanetsideAttributeMessage(amenityId, 45, silo.CapacitorDisplay))
|
||||
sendResponse(PlanetsideAttributeMessage(amenityId, 47, silo.LowNtuWarningOn))
|
||||
sendResponse(PlanetsideAttributeMessage(amenityId, 47, if(silo.LowNtuWarningOn) 1 else 0))
|
||||
|
||||
if(silo.ChargeLevel == 0) {
|
||||
// temporarily disabled until warpgates can bring ANTs from sanctuary, otherwise we'd be stuck in a situation with an unpowered base and no way to get an ANT to refill it.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue