diff --git a/code/datums/ai/_ai_controller.dm b/code/datums/ai/_ai_controller.dm index 36449bfe6f8..0ef9dcb39da 100644 --- a/code/datums/ai/_ai_controller.dm +++ b/code/datums/ai/_ai_controller.dm @@ -80,7 +80,7 @@ have ways of interacting with a specific atom and control it. They posses a blac ///Proc for deinitializing the pawn to the old controller /datum/ai_controller/proc/UnpossessPawn(destroy) - UnregisterSignal(pawn, COMSIG_MOB_LOGIN, COMSIG_MOB_LOGOUT) + UnregisterSignal(pawn, list(COMSIG_MOB_LOGIN, COMSIG_MOB_LOGOUT)) pawn.ai_controller = null pawn = null if(destroy) diff --git a/code/game/objects/buckling.dm b/code/game/objects/buckling.dm index 39269f62e73..30b0c172782 100644 --- a/code/game/objects/buckling.dm +++ b/code/game/objects/buckling.dm @@ -156,7 +156,7 @@ if(anchored) REMOVE_TRAIT(buckled_mob, TRAIT_NO_FLOATING_ANIM, BUCKLED_TRAIT) if(!length(buckled_mobs)) - UnregisterSignal(src, COMSIG_MOVABLE_SET_ANCHORED, .proc/on_set_anchored) + UnregisterSignal(src, COMSIG_MOVABLE_SET_ANCHORED) SEND_SIGNAL(src, COMSIG_MOVABLE_UNBUCKLE, buckled_mob, force) post_unbuckle_mob(.) diff --git a/code/game/objects/items/cards_ids.dm b/code/game/objects/items/cards_ids.dm index a1302bdcb32..aca1806332e 100644 --- a/code/game/objects/items/cards_ids.dm +++ b/code/game/objects/items/cards_ids.dm @@ -747,7 +747,7 @@ RegisterSignal(src, COMSIG_ITEM_DROPPED, .proc/remove_intern_status) /obj/item/card/id/advanced/Destroy() - UnregisterSignal(src, COMSIG_ITEM_EQUIPPED, COMSIG_ITEM_DROPPED) + UnregisterSignal(src, list(COMSIG_ITEM_EQUIPPED, COMSIG_ITEM_DROPPED)) return ..() @@ -789,7 +789,7 @@ /obj/item/card/id/advanced/proc/on_holding_card_slot_moved(obj/item/computer_hardware/card_slot/source, atom/old_loc, dir, forced) SIGNAL_HANDLER if(istype(old_loc, /obj/item/modular_computer/tablet)) - UnregisterSignal(old_loc, COMSIG_ITEM_EQUIPPED, COMSIG_ITEM_DROPPED) + UnregisterSignal(old_loc, list(COMSIG_ITEM_EQUIPPED, COMSIG_ITEM_DROPPED)) if(istype(source.loc, /obj/item/modular_computer/tablet)) RegisterSignal(source.loc, COMSIG_ITEM_EQUIPPED, .proc/update_intern_status) @@ -799,7 +799,7 @@ . = ..() if(istype(OldLoc, /obj/item/pda) || istype(OldLoc, /obj/item/storage/wallet)) - UnregisterSignal(OldLoc, COMSIG_ITEM_EQUIPPED, COMSIG_ITEM_DROPPED) + UnregisterSignal(OldLoc, list(COMSIG_ITEM_EQUIPPED, COMSIG_ITEM_DROPPED)) if(istype(OldLoc, /obj/item/computer_hardware/card_slot)) var/obj/item/computer_hardware/card_slot/slot = OldLoc @@ -808,7 +808,7 @@ if(istype(slot.holder, /obj/item/modular_computer/tablet)) var/obj/item/modular_computer/tablet/slot_holder = slot.holder - UnregisterSignal(slot_holder, COMSIG_ITEM_EQUIPPED, COMSIG_ITEM_DROPPED) + UnregisterSignal(slot_holder, list(COMSIG_ITEM_EQUIPPED, COMSIG_ITEM_DROPPED)) if(istype(loc, /obj/item/pda) || istype(OldLoc, /obj/item/storage/wallet)) RegisterSignal(loc, COMSIG_ITEM_EQUIPPED, .proc/update_intern_status) diff --git a/code/modules/clothing/suits/cloaks.dm b/code/modules/clothing/suits/cloaks.dm index 168b1d77e56..e75ca59a7df 100644 --- a/code/modules/clothing/suits/cloaks.dm +++ b/code/modules/clothing/suits/cloaks.dm @@ -175,11 +175,11 @@ if(slot & ITEM_SLOT_OCLOTHING) RegisterSignal(user, COMSIG_MOB_STATCHANGE, .proc/resurrect) return - UnregisterSignal(user, COMSIG_MOB_STATCHANGE, .proc/resurrect) + UnregisterSignal(user, COMSIG_MOB_STATCHANGE) /obj/item/clothing/suit/hooded/cloak/godslayer/dropped(mob/user) ..() - UnregisterSignal(user, COMSIG_MOB_STATCHANGE, .proc/resurrect) + UnregisterSignal(user, COMSIG_MOB_STATCHANGE) /obj/item/clothing/suit/hooded/cloak/godslayer/proc/resurrect(mob/living/carbon/user, new_stat) SIGNAL_HANDLER diff --git a/code/modules/food_and_drinks/kitchen_machinery/grill.dm b/code/modules/food_and_drinks/kitchen_machinery/grill.dm index 7b5cf577e15..1222a45b18e 100644 --- a/code/modules/food_and_drinks/kitchen_machinery/grill.dm +++ b/code/modules/food_and_drinks/kitchen_machinery/grill.dm @@ -150,7 +150,7 @@ grilled_item.desc = "A [grilled_item.name]. Reminds you of your wife, wait, no, it's prettier!" grilled_item.foodtype |= FRIED grill_time = 0 - UnregisterSignal(grilled_item, COMSIG_GRILL_COMPLETED, .proc/GrillCompleted) + UnregisterSignal(grilled_item, COMSIG_GRILL_COMPLETED) grill_loop.stop() ///Called when a food is transformed by the grillable component diff --git a/code/modules/mob/living/simple_animal/bot/mulebot.dm b/code/modules/mob/living/simple_animal/bot/mulebot.dm index e4560588b07..a68b1f6d38c 100644 --- a/code/modules/mob/living/simple_animal/bot/mulebot.dm +++ b/code/modules/mob/living/simple_animal/bot/mulebot.dm @@ -113,7 +113,7 @@ /mob/living/simple_animal/bot/mulebot/Destroy() - UnregisterSignal(src, COMSIG_MOB_BOT_PRE_STEP, COMSIG_MOB_CLIENT_PRE_MOVE, COMSIG_MOB_BOT_STEP, COMSIG_MOB_CLIENT_MOVED) + UnregisterSignal(src, list(COMSIG_MOB_BOT_PRE_STEP, COMSIG_MOB_CLIENT_PRE_MOVE, COMSIG_MOB_BOT_STEP, COMSIG_MOB_CLIENT_MOVED)) unload(0) QDEL_NULL(wires) QDEL_NULL(cell) diff --git a/code/modules/research/nanites/nanite_programs/sensor.dm b/code/modules/research/nanites/nanite_programs/sensor.dm index 05ff106bb16..952908f1f73 100644 --- a/code/modules/research/nanites/nanite_programs/sensor.dm +++ b/code/modules/research/nanites/nanite_programs/sensor.dm @@ -247,7 +247,7 @@ RegisterSignal(host_mob, COMSIG_MOVABLE_HEAR, .proc/on_hear) /datum/nanite_program/sensor/voice/on_mob_remove() - UnregisterSignal(host_mob, COMSIG_MOVABLE_HEAR, .proc/on_hear) + UnregisterSignal(host_mob, COMSIG_MOVABLE_HEAR) /datum/nanite_program/sensor/voice/proc/on_hear(datum/source, list/hearing_args) SIGNAL_HANDLER diff --git a/code/modules/surgery/organs/tongue.dm b/code/modules/surgery/organs/tongue.dm index 432c34e7579..212f35f3ee9 100644 --- a/code/modules/surgery/organs/tongue.dm +++ b/code/modules/surgery/organs/tongue.dm @@ -69,7 +69,7 @@ ..() if(say_mod && tongue_owner.dna && tongue_owner.dna.species) tongue_owner.dna.species.say_mod = initial(tongue_owner.dna.species.say_mod) - UnregisterSignal(tongue_owner, COMSIG_MOB_SAY, .proc/handle_speech) + UnregisterSignal(tongue_owner, COMSIG_MOB_SAY) tongue_owner.RegisterSignal(tongue_owner, COMSIG_MOB_SAY, /mob/living/carbon/.proc/handle_tongueless_speech) REMOVE_TRAIT(tongue_owner, TRAIT_AGEUSIA, ORGAN_TRAIT) // Carbons by default start with NO_TONGUE_TRAIT caused TRAIT_AGEUSIA