mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 19:13:30 +01:00
exploit fix (#30416)
This commit is contained in:
@@ -56,10 +56,6 @@
|
||||
to_chat(user, "<span class='notice'>[src] is empty.</span>")
|
||||
return
|
||||
|
||||
if(!L && !L.is_injectable(user)) //only checks on non-living mobs, due to how can_inject() handles
|
||||
to_chat(user, "<span class='warning'>You cannot directly fill [L]!</span>")
|
||||
return
|
||||
|
||||
if(L.reagents.total_volume >= L.reagents.maximum_volume)
|
||||
to_chat(user, "<span class='notice'>[L] is full.</span>")
|
||||
return
|
||||
@@ -136,6 +132,10 @@
|
||||
to_chat(user, "<span class='notice'>[src] is empty.</span>")
|
||||
return
|
||||
|
||||
if(!target.is_injectable(user))
|
||||
to_chat(user, "<span class='warning'>You cannot directly fill [target]!</span>")
|
||||
return
|
||||
|
||||
if(isfood(target))
|
||||
var/list/chemicals = list()
|
||||
for(var/datum/reagent/chem in reagents.reagent_list)
|
||||
|
||||
Reference in New Issue
Block a user