1
0
mirror of https://github.com/metrostroi-repo/MetrostroiAddon.git synced 2026-05-04 00:52:33 +00:00

Trying to make a system for km334

This commit is contained in:
Moon Horse
2025-03-20 21:19:53 +03:00
parent c5c7f91f42
commit d4aabb6561
9 changed files with 283 additions and 204 deletions

View File

@@ -727,7 +727,7 @@ function ENT:Think()
self:SetNW2Int("KRUPosition", self.KRU.Position)
if Pneumatic.ValveType == 1 then
self:SetPackedRatio("BLPressure", Pneumatic.ReservoirPressure/16.0)
self:SetPackedRatio("BLPressure", self.KM334.ResvPres/16.0)
else
self:SetPackedRatio("BLPressure", Pneumatic.BrakeLinePressure/16.0)
end