From 88c6cb23ff184efd699cbdff5ce9ba7927fcc289 Mon Sep 17 00:00:00 2001 From: Xsingular <32230667+Xsingular@users.noreply.github.com> Date: Sun, 24 Sep 2017 01:55:29 +0200 Subject: [PATCH] Fixed efficiency math in Turbine.dm Fixed the RPM equation in the Compressor part of Turbine. --- code/modules/power/turbine.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/power/turbine.dm b/code/modules/power/turbine.dm index a5b63d3e67e..a040a864555 100644 --- a/code/modules/power/turbine.dm +++ b/code/modules/power/turbine.dm @@ -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))