Fixed efficiency math in Turbine.dm

Fixed the RPM equation in the Compressor part of Turbine.
This commit is contained in:
Xsingular
2017-09-24 01:55:29 +02:00
committed by GitHub
parent a4d536bdaa
commit 88c6cb23ff
+1 -1
View File
@@ -156,7 +156,7 @@
// RPM function to include compression friction - be advised that too low/high of a compfriction value can make things screwy
rpm = max(0, rpm - (rpm*rpm)/(COMPFRICTION/efficiency))
rpm = max(0, rpm - (rpm*rpm)/(COMPFRICTION*efficiency))
if(starter && !(stat & NOPOWER))