mirror of
https://github.com/metrostroi-repo/MetrostroiAddon.git
synced 2026-05-02 00:42:29 +00:00
FIX AKBVoltage 703,707, etc
This commit is contained in:
@@ -272,7 +272,7 @@ function ENT:Think()
|
||||
self:SetPackedRatio("BCPressure", math.min(2.7,Pneumatic.BrakeCylinderPressure)/6.0)
|
||||
self:SetPackedRatio("EnginesVoltage", self.Engines.E24/2000.0)
|
||||
self:SetPackedRatio("EnginesCurrent", 0.5 + 0.5*(self.Electric.I24/500.0))
|
||||
self:SetPackedRatio("BatteryVoltage",self.Panel["V1"]*self.Battery.Voltage/150)
|
||||
self:SetPackedRatio("BatteryVoltage",Panel["V1"]*self.Battery.Voltage/150.0)
|
||||
|
||||
self:SetPackedRatio("Speed", self.Speed/100)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user