Skip to content

Commit

Permalink
Fixes nulls in managed_overlays (#60323)
Browse files Browse the repository at this point in the history
#60320 highlighted an issue about managed_overlays, this fixes a null i noticed some time ago in them
  • Loading branch information
Azarak committed Jul 20, 2021
1 parent e4af05c commit f759524
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/game/atoms_movable.dm
Expand Up @@ -168,7 +168,9 @@

/atom/movable/update_overlays()
. = ..()
. += update_emissive_block()
var/emissive_block = update_emissive_block()
if(emissive_block)
. += emissive_block

/atom/movable/proc/can_zFall(turf/source, levels = 1, turf/target, direction)
if(!direction)
Expand Down

0 comments on commit f759524

Please sign in to comment.