mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 16:47:13 +01:00
Afterattack fixes (#2350)
## About The Pull Request See name, I'm actually going through with it and doing it. ## Why It's Good For The Game Fixes broken item interactions closes #2253 closes #2204 ## Proof Of Testing Worked on my device (So far) ## Changelog 🆑 fix: Phystool and Physgun work correctly again fix: Clockcult slabs can examine again fix: Compostbin is now handled correctly fix: Robohand checks for robohand again /🆑
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
return
|
||||
selected_mode.use_act(user)
|
||||
|
||||
/obj/item/phystool/afterattack(atom/target, mob/user, proximity_flag, click_parameters)
|
||||
/obj/item/phystool/ranged_interact_with_atom(atom/target, mob/user, list/modifiers)
|
||||
. = ..()
|
||||
if(!selected_mode)
|
||||
return
|
||||
@@ -75,7 +75,6 @@
|
||||
return
|
||||
do_work_effect(target, user)
|
||||
playsound(user, 'modular_zubbers/sound/phystools/toolgun_shot1.ogg', 100, TRUE)
|
||||
return SECONDARY_ATTACK_CONTINUE_CHAIN
|
||||
|
||||
/obj/item/phystool/proc/do_work_effect(atom/target, mob/user)
|
||||
if(!target)
|
||||
|
||||
Reference in New Issue
Block a user