Merge pull request #6125 from Citadel-Station-13/upstream-merge-36671

[MIRROR] Fixes machines not updating power when changing areas
This commit is contained in:
deathride58
2018-03-27 17:49:35 +00:00
committed by GitHub
+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)