Fix lights not using light power (#3964)

This commit is contained in:
Lohikar
2017-12-09 13:51:25 -06:00
committed by GitHub
parent f950f11368
commit a6ce1e3570
2 changed files with 5 additions and 1 deletions

View File

@@ -145,7 +145,7 @@
if (EQUIP)
A.used_equip += M.use_power == 2 ? M.active_power_usage : M.idle_power_usage
if (LIGHT)
A.used_equip += M.use_power == 2 ? M.active_power_usage : M.idle_power_usage
A.used_light += M.use_power == 2 ? M.active_power_usage : M.idle_power_usage
if (ENVIRON)
A.used_environ += M.use_power == 2 ? M.active_power_usage : M.idle_power_usage
else // ?!

View File

@@ -0,0 +1,4 @@
author: Lohikar
delete-after: True
changes:
- bugfix: "Engineering crews have corrected a fault in station wiring that caused station lighting to be instead connected to the Equipment power pool. Officials suspect a prank from misbehaving maintenance drones."