1
0
mirror of https://github.com/metrostroi-repo/MetrostroiAddon.git synced 2026-05-02 00:42:29 +00:00

Небольшой фикс спавна, АСНП запитана от ВПР

This commit is contained in:
Anton Shukin
2024-02-11 05:24:04 +03:00
parent 2c850a9bbc
commit 8f7eb989f0
2 changed files with 6 additions and 6 deletions

View File

@@ -89,7 +89,7 @@ function TRAIN_SYSTEM:SolveAllInternalCircuits(Train,dT,firstIter)
--RRI_VV.CabinSpeakerPower = T[13]
else
local ASNP_VV = Train.ASNP_VV
ASNP_VV.Power = BO*Train.R_ASNPOn.Value*Train.R_Radio.Value*Train.PRL4A.Value
ASNP_VV.Power = BO*Train.R_ASNPOn.Value*Train.RST.Value*Train.PRL4A.Value
ASNP_VV.AmplifierPower = ASNP_VV.Power*Train.ASNP.LineOut*Train.R_UNch.Value
ASNP_VV.CabinSpeakerPower = ASNP_VV.Power*Train.ASNP.LineOut*Train.R_G.Value
Train:WriteTrainWire(13,ASNP_VV.AmplifierPower)