Fixes #24998 (Statues spawned by wizards are invisible) - Correctly (#25638)

* Fixes #24998 Correctly

* Fixes potential addition to non initialised overlays list
This commit is contained in:
Remie Richards
2017-03-31 13:33:44 +01:00
committed by Leo
parent 24d14441dd
commit d1b2be75ad
2 changed files with 2 additions and 4 deletions

View File

@@ -171,7 +171,7 @@ var/datum/controller/subsystem/processing/overlays/SSoverlays
var/list/cached_other = other.our_overlays
if(cached_other)
if(cut_old)
if(cut_old || !LAZYLEN(our_overlays))
our_overlays = cached_other.Copy()
else
our_overlays |= cached_other