1
0
mirror of https://github.com/metrostroi-repo/MetrostroiAddon.git synced 2026-05-04 00:52:33 +00:00
This commit is contained in:
Hellss
2021-07-13 18:02:40 +03:00
committed by GitHub
parent ace123be51
commit 4a2786967d
2 changed files with 6 additions and 2 deletions

View File

@@ -256,7 +256,7 @@ function ENT:Think()
-- Feed packed floats
self:SetNW2Int("WrenchMode",self.KVWrenchMode)
self:SetPackedRatio("CranePosition", 1-Pneumatic.DriverValvePosition/7)
self:SetPackedRatio("ControllerPosition", (self.KV.ControllerPosition+3)/7)
self:SetNW2Int("ControllerPosition", self.KV.ControllerPosition+3)
self:SetPackedRatio("ReverserPosition", 1-(self.KV.ReverserPosition+1)/2)
self:SetPackedBool("RCUPosition", self.KV.RCU > 0)
self:SetPackedRatio("BLPressure", Pneumatic.ReservoirPressure/16.0)