From 36dbb67ceb032446f04cbfed438a64968bff50ad Mon Sep 17 00:00:00 2001 From: Mike Date: Tue, 6 May 2014 20:12:40 -0400 Subject: [PATCH] Fixed air alarm heaters using 1000x less power... ...than they should. Note that MAX_ENERGY_CHANGE is 1000, so air alarm heaters will now draw a maximum of 1 kW instead of 1 W, much more befitting of a heater. --- code/game/machinery/alarm.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/machinery/alarm.dm b/code/game/machinery/alarm.dm index c781bb20c99..04da621a452 100644 --- a/code/game/machinery/alarm.dm +++ b/code/game/machinery/alarm.dm @@ -187,8 +187,8 @@ var/heat_capacity = gas.heat_capacity() var/energy_used = min( abs( heat_capacity*(gas.temperature - target_temperature) ), MAX_ENERGY_CHANGE) - //Use power. Assuming that each power unit represents 1000 watts.... - use_power(energy_used/1000, ENVIRON) + //Use power. Assuming that each power unit represents 1 watts.... + use_power(energy_used, ENVIRON) //We need to cool ourselves. if(environment.temperature > target_temperature)