Merge pull request #36671 from YPOQ/areachangepowerfix

Fixes machines not updating power when changing areas
This commit is contained in:
Jordan Brown
2018-03-26 15:24:17 -04:00
committed by CitadelStationBot
parent c579d81f4c
commit ed6fae603e
+1
View File
@@ -127,6 +127,7 @@ Class Procs:
else
START_PROCESSING(SSfastprocess, src)
power_change()
AddComponent(/datum/component/redirect, list(COMSIG_ENTER_AREA), CALLBACK(src, .proc/power_change))
if (occupant_typecache)
occupant_typecache = typecacheof(occupant_typecache)