Disables container quick-empty when in a belly

The proc is coded to dump the contents exclusively on the turf, so a prey hitting that button on a storage item inside a gut would just tp it all onto the ground outside.
This commit is contained in:
Verkister
2021-10-10 00:29:49 +03:00
committed by GitHub
parent e667e86813
commit ad0102f30e
@@ -679,6 +679,10 @@
if(!Adjacent(usr))
return
//VOREStation Add: No turf dumping if user is in a belly
if(isbelly(usr.loc))
return
drop_contents()
/obj/item/weapon/storage/proc/drop_contents() // why is this a proc? literally just for RPEDs