Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 7cf3537

Browse files
committed
hmm
1 parent 2b396c5 commit 7cf3537

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

code/modules/mob/living/silicon/silicon.dm

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@
5858
armor = getArmor()
5959
else if(!istype(armor, /datum/armor))
6060
stack_trace("Invalid type [armor.type] found in .armor during [type] Initialize()")
61+
if(ispath(radio))
62+
radio = new radio(src)
6163
diag_hud_set_status()
6264
diag_hud_set_health()
6365
ADD_TRAIT(src, TRAIT_FORCED_STANDING, "cyborg") // not CYBORG_ITEM_TRAIT because not an item
@@ -69,8 +71,8 @@
6971
return //we use a different hud
7072

7173
/mob/living/silicon/Destroy()
72-
radio = null
73-
aicamera = null
74+
QDEL_NULL(radio)
75+
QDEL_NULL(aicamera)
7476
QDEL_NULL(builtInCamera)
7577
GLOB.silicon_mobs -= src
7678
return ..()

0 commit comments

Comments
 (0)