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

Commit dac7aa9

Browse files
committed
checking if clears runtime
1 parent cce08ca commit dac7aa9

File tree

1 file changed

+1
-1
lines changed
  • code/modules/mob/living/silicon/robot

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@
211211
if(shell)
212212
GLOB.available_ai_shells -= src
213213
else
214-
if(T && istype(radio) && istype(radio.keyslot))
214+
if(T && istype(radio) && istype(radio?.keyslot))
215215
radio?.keyslot?.forceMove(T)
216216
radio?.keyslot = null
217217
qdel(wires)

0 commit comments

Comments
 (0)