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

Commit 63d7ea3

Browse files
committed
please let it not runtime
1 parent f44246c commit 63d7ea3

File tree

2 files changed

+4
-3
lines changed
  • code
    • game/objects/items/devices/radio
    • modules/mob/living/silicon/robot

2 files changed

+4
-3
lines changed

code/game/objects/items/devices/radio/radio.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ GLOBAL_LIST_INIT(channel_tokens, list(
602602
/obj/item/radio/off // Station bounced radios, their only difference is spawning with the speakers off, this was made to help the lag.
603603
dog_fashion = /datum/dog_fashion/back
604604

605-
/obj/item/radio/off/Initialize()
605+
/obj/item/radio/off/Initialize(mapload)
606606
. = ..()
607607
set_listening(FALSE)
608608

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -876,11 +876,12 @@
876876
qdel(src)
877877

878878
/mob/living/silicon/robot/modules
879-
var/set_module = null
879+
var/set_module = /obj/item/robot_module
880880

881881
/mob/living/silicon/robot/modules/Initialize(mapload)
882882
. = ..()
883-
module.transform_to(set_module)
883+
INVOKE_ASYNC(module, TYPE_PROC_REF(/obj/item/robot_module, transform_to), set_module, TRUE)
884+
884885

885886
/mob/living/silicon/robot/modules/standard
886887
set_module = /obj/item/robot_module/standard

0 commit comments

Comments
 (0)