mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 19:44:58 +01:00
use SIGNAL_HANDLER REEEEEE (#59242)
makes as many procs as i can find use the SIGNAL_HANDLER define which i assumed they all already did
This commit is contained in:
@@ -41,12 +41,15 @@
|
||||
var/pre_attack_hit
|
||||
|
||||
/datum/unit_test/attack_chain/proc/attack_hit()
|
||||
SIGNAL_HANDLER
|
||||
attack_hit = TRUE
|
||||
|
||||
/datum/unit_test/attack_chain/proc/post_attack_hit()
|
||||
SIGNAL_HANDLER
|
||||
post_attack_hit = TRUE
|
||||
|
||||
/datum/unit_test/attack_chain/proc/pre_attack_hit()
|
||||
SIGNAL_HANDLER
|
||||
pre_attack_hit = TRUE
|
||||
|
||||
/datum/unit_test/attack_chain/Run()
|
||||
|
||||
@@ -22,4 +22,5 @@
|
||||
TEST_ASSERT_EQUAL(emotes_used, 2, "Human could not deathgasp while unconscious")
|
||||
|
||||
/datum/unit_test/emoting/proc/on_emote_used()
|
||||
SIGNAL_HANDLER
|
||||
emotes_used += 1
|
||||
|
||||
Reference in New Issue
Block a user