Skip to content

Commit

Permalink
hmm
Browse files Browse the repository at this point in the history
  • Loading branch information
wonderinghost committed Nov 20, 2024
1 parent 2b396c5 commit 7cf3537
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions code/modules/mob/living/silicon/silicon.dm
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@
armor = getArmor()
else if(!istype(armor, /datum/armor))
stack_trace("Invalid type [armor.type] found in .armor during [type] Initialize()")
if(ispath(radio))
radio = new radio(src)
diag_hud_set_status()
diag_hud_set_health()
ADD_TRAIT(src, TRAIT_FORCED_STANDING, "cyborg") // not CYBORG_ITEM_TRAIT because not an item
Expand All @@ -69,8 +71,8 @@
return //we use a different hud

/mob/living/silicon/Destroy()
radio = null
aicamera = null
QDEL_NULL(radio)
QDEL_NULL(aicamera)
QDEL_NULL(builtInCamera)
GLOB.silicon_mobs -= src
return ..()
Expand Down

0 comments on commit 7cf3537

Please sign in to comment.