mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-04 14:33:30 +00:00
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.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user