mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 22:19:30 +01:00
[MIRROR] fixes probital ingest reaction [MDB IGNORE] (#8875)
* fixes probital ingest reaction (#62095) bugs bad lot of chems were broken due to oversights during the stomach changes and other refactors this fixes one of them thought it was a proc problem at first, but no it was literally a one line change this entire time. * fixes probital ingest reaction Co-authored-by: lovegreenstuff <59631103+lovegreenstuff@users.noreply.github.com>
This commit is contained in:
co-authored by
lovegreenstuff
parent
3d5ec67484
commit
cafd52ed92
@@ -144,7 +144,7 @@
|
||||
. = TRUE
|
||||
|
||||
/datum/reagent/medicine/c2/probital/on_transfer(atom/A, methods=INGEST, trans_volume)
|
||||
if(!(methods & INGEST) || !iscarbon(A))
|
||||
if(!(methods & INGEST) || (!iscarbon(A) && !istype(A, /obj/item/organ/stomach)) )
|
||||
return
|
||||
|
||||
A.reagents.remove_reagent(/datum/reagent/medicine/c2/probital, trans_volume * 0.05)
|
||||
|
||||
Reference in New Issue
Block a user