mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
makes cameras get properly dropped from the cameranet on destroy (#26613)
This commit is contained in:
@@ -72,6 +72,7 @@
|
||||
kick_out_watchers()
|
||||
QDEL_NULL(assembly)
|
||||
QDEL_NULL(wires)
|
||||
GLOB.cameranet.removeCamera(src)
|
||||
GLOB.cameranet.cameras -= src
|
||||
var/area/our_area = get_area(src)
|
||||
if(our_area) // We should probably send out the warning alarms if this doesn't exist, because this should always have an area!
|
||||
|
||||
Reference in New Issue
Block a user