mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-27 22:18:27 +01:00
Disabled contamination on itemweak hold mode.
-Still applies on food tho.
This commit is contained in:
@@ -38,9 +38,14 @@
|
||||
if(isitem(A) && !did_an_item)
|
||||
var/obj/item/I = A
|
||||
if(mode_flags & DM_FLAG_ITEMWEAK)
|
||||
I.gurgle_contaminate(src, cont_flavor)
|
||||
items_preserved |= I
|
||||
to_update = TRUE
|
||||
if(digest_mode == DM_HOLD)
|
||||
if(istype(I,/obj/item/weapon/reagent_containers/food))
|
||||
digest_item(I)
|
||||
else
|
||||
items_preserved |= I
|
||||
else
|
||||
I.gurgle_contaminate(src, cont_flavor)
|
||||
items_preserved |= I
|
||||
else
|
||||
digest_item(I)
|
||||
to_update = TRUE
|
||||
|
||||
Reference in New Issue
Block a user