mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
* Fixes #24998 Correctly * Fixes potential addition to non initialised overlays list
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user