[MIRROR] Moves cleaning to an atom proc to afterattack signal [MDB IGNORE] (#16813)

* Moves cleaning to an atom proc to afterattack signal

* Fixing conflict!

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
This commit is contained in:
SkyratBot
2022-10-12 14:49:04 -04:00
committed by GitHub
co-authored by John Willard GoldenAlpharex
parent 8676942ee2
commit 3bf620006b
13 changed files with 122 additions and 123 deletions
+2 -2
View File
@@ -43,9 +43,9 @@
user.changeNext_move(CLICK_CD_MELEE)
/obj/item/resonator/pre_attack(atom/target, mob/user, params)
if(check_allowed_items(target, TRUE))
if(check_allowed_items(target, not_inside = TRUE))
create_resonance(target, user)
. = ..()
return ..()
//resonance field, crushes rock, damages mobs
/obj/effect/temp_visual/resonance