Skip to content

Commit

Permalink
Merge pull request #1027 from FernandoJ8/splashy-splash
Browse files Browse the repository at this point in the history
It is now possible to splash liquid containers while using Intents
  • Loading branch information
dwasint authored Jan 26, 2024
2 parents a53cf7f + 735abc7 commit 48aeee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/reagents/reagent_containers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
/obj/item/reagent_containers/pre_attack_secondary(atom/target, mob/living/user, params)
if(HAS_TRAIT(target, TRAIT_DO_NOT_SPLASH))
return ..()
if(!(user.istate & ISTATE_HARM))
if(!(user.istate & ISTATE_HARM) && istype(user.client?.imode, /datum/interaction_mode/combat_mode))
return ..()
if (try_splash(user, target))
return SECONDARY_ATTACK_CANCEL_ATTACK_CHAIN
Expand Down

0 comments on commit 48aeee5

Please sign in to comment.