Update code/modules/reagents/reagent_containers.dm

Drink slide changes recommended by Ghom p.1

Co-Authored-By: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
Ragolution
2020-03-07 01:58:06 -05:00
committed by GitHub
parent 4857bd120c
commit 860d6b0827

View File

@@ -153,9 +153,9 @@
log_reagent("SPLASH - [src] object SplashReagents() onto [target] at [T] ([AREACOORD(T)])[throwerstring] - [reagents.log_list()]")
visible_message("<span class='notice'>[src] spills its contents all over [target].</span>")
reagents.reaction(target, TOUCH)
reagents.clear_reagents()
if(QDELETED(src))
return
if (!bartender_check(target)) // Needs to check for Bartender Slide before spilling.
reagents.clear_reagents() // Clear reagents of thrown container.