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

Commit 2b396c5

Browse files
committed
does this clear?
1 parent d029f93 commit 2b396c5

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -869,9 +869,12 @@
869869
for(b=0, b!=2, b++)
870870
var/obj/item/assembly/flash/handheld/F = new /obj/item/assembly/flash/handheld(T)
871871
F.burn_out()
872-
if (cell) //Sanity check.
872+
if (cell) //Sanity check.
873873
cell.forceMove(T)
874874
cell = null
875+
if (radio)
876+
radio?.keyslot?.forceMove(T)
877+
radio?.keyslot = null
875878
qdel(src)
876879

877880
/mob/living/silicon/robot/modules

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@
228228
R.module = RM
229229
R.update_module_innate()
230230
RM.rebuild_modules()
231-
R.radio?.recalculateChannels()
231+
R.radio.recalculateChannels()
232232
var/datum/component/armor_plate/C = R.GetComponent(/datum/component/armor_plate)
233233
if(C) // Remove armor plating.
234234
C.dropplates()

0 commit comments

Comments
 (0)