mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-29 11:31:51 +00:00
fix for lighting subarea GCing
Fixes #6102 and related issues Signed-off-by: Mloc-Argent <colmohici@gmail.com>
This commit is contained in:
@@ -62,6 +62,7 @@ datum/controller/lighting/proc/process()
|
||||
for(var/i = 1; i <= changed_areas.len, i++)
|
||||
var/area/A = changed_areas[i]
|
||||
if(A.master != A && !A.contents.len)
|
||||
A.tag = null
|
||||
A.related -= A
|
||||
active_areas -= A
|
||||
all_areas -= A
|
||||
|
||||
Reference in New Issue
Block a user