From 7e8605f40ae0a09ea8395e822328fb9f8f393806 Mon Sep 17 00:00:00 2001 From: Iajret Date: Tue, 17 Oct 2023 14:11:10 +0300 Subject: [PATCH] change nabber signal name --- tff_modular/modules/nabbers/code/abilites/camouflage.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tff_modular/modules/nabbers/code/abilites/camouflage.dm b/tff_modular/modules/nabbers/code/abilites/camouflage.dm index 1602779b275..fa5361cbe9a 100644 --- a/tff_modular/modules/nabbers/code/abilites/camouflage.dm +++ b/tff_modular/modules/nabbers/code/abilites/camouflage.dm @@ -27,7 +27,7 @@ owner.balloon_alert(owner, "Can't now!") return FALSE - RegisterSignals(owner, list(COMSIG_MOB_ITEM_ATTACK, COMSIG_ATOM_ATTACKBY, COMSIG_ATOM_ATTACK_HAND, COMSIG_ATOM_HITBY, COMSIG_ATOM_HULK_ATTACK, COMSIG_ATOM_ATTACK_PAW, COMSIG_CARBON_CUFF_ATTEMPTED, COMSIG_ATOM_BULLET_ACT, COMSIG_HUMAN_MELEE_UNARMED_ATTACK, COMSIG_LIVING_MOB_BUMP, COMSIG_HUMAN_BURNING), PROC_REF(remove_camouflage)) + RegisterSignals(owner, list(COMSIG_MOB_ITEM_ATTACK, COMSIG_ATOM_ATTACKBY, COMSIG_ATOM_ATTACK_HAND, COMSIG_ATOM_HITBY, COMSIG_ATOM_HULK_ATTACK, COMSIG_ATOM_ATTACK_PAW, COMSIG_CARBON_CUFF_ATTEMPTED, COMSIG_ATOM_BULLET_ACT, COMSIG_LIVING_MELEE_UNARMED_ATTACK, COMSIG_LIVING_MOB_BUMP, COMSIG_HUMAN_BURNING), PROC_REF(remove_camouflage)) enter_camouflage() return TRUE @@ -55,7 +55,7 @@ owner.visible_message(span_notice("[owner] stops blending in with surroundings."), span_notice("You become visible again."), span_hear("You hear a low hiss.")) animate(owner, alpha = 255, time = 1.5 SECONDS) - UnregisterSignal(owner, list(COMSIG_HUMAN_MELEE_UNARMED_ATTACK, COMSIG_MOB_ITEM_ATTACK, COMSIG_ATOM_ATTACKBY, COMSIG_ATOM_ATTACK_HAND, COMSIG_ATOM_BULLET_ACT, COMSIG_ATOM_HITBY, COMSIG_ATOM_HULK_ATTACK, COMSIG_ATOM_ATTACK_PAW, COMSIG_CARBON_CUFF_ATTEMPTED, COMSIG_LIVING_MOB_BUMP, COMSIG_HUMAN_BURNING)) + UnregisterSignal(owner, list(COMSIG_LIVING_MELEE_UNARMED_ATTACK, COMSIG_MOB_ITEM_ATTACK, COMSIG_ATOM_ATTACKBY, COMSIG_ATOM_ATTACK_HAND, COMSIG_ATOM_BULLET_ACT, COMSIG_ATOM_HITBY, COMSIG_ATOM_HULK_ATTACK, COMSIG_ATOM_ATTACK_PAW, COMSIG_CARBON_CUFF_ATTEMPTED, COMSIG_LIVING_MOB_BUMP, COMSIG_HUMAN_BURNING)) button_icon_state = ICON_STATE_CAMOUFLAGE_OFF owner.update_action_buttons()