mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
Update code/modules/reagents/chemistry/machinery/chem_dispenser.dm
Co-authored-by: SabreML <57483089+SabreML@users.noreply.github.com>
This commit is contained in:
@@ -320,13 +320,11 @@
|
||||
ui_interact(user)
|
||||
|
||||
/obj/machinery/chem_dispenser/AltClick(mob/user)
|
||||
if(!is_drink)
|
||||
if(!is_drink || !Adjacent(user))
|
||||
return
|
||||
if(user.incapacitated())
|
||||
to_chat(user, "<span class='warning'>You can't do that right now!</span>")
|
||||
return
|
||||
if(!Adjacent(user))
|
||||
return
|
||||
if(anchored)
|
||||
to_chat(user, "<span class='warning'>[src] is anchored to the floor!</span>")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user