Merge pull request #13641 from Heroman3003/light-fix

Fixes lighting runtime when moving hats on shuttles
This commit is contained in:
Casey
2022-09-03 12:50:34 -04:00
committed by CHOMPStation2
parent 740a487eb0
commit 8f93154262

View File

@@ -156,7 +156,8 @@
for(var/obj/O in T)
if(O.simulated)
O.loc = X
O.update_light()
if(O.light_system == STATIC_LIGHT)
O.update_light()
if(z_level_change) // The objects still need to know if their z-level changed.
O.onTransitZ(T.z, X.z)