mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 07:08:00 +01:00
[MIRROR] Fix spaceacillin's infection processing not applying to corpses [MDB IGNORE] (#23118)
* Fix spaceacillin's infection processing not applying to corpses (#77635) ## About The Pull Request Spaceacillin used to be able to be able to treat infections on the dead as well as the living, and got unintentionally changed in #76393. Simply brings back old functionality ## Why It's Good For The Game Fix bugs! ## Changelog 🆑 fix: Spaceacillin will once again provide antiviral effects for the deceased /🆑 * Fix spaceacillin's infection processing not applying to corpses --------- Co-authored-by: FlufflesTheDog <piecopresident@gmail.com>
This commit is contained in:
co-authored by
FlufflesTheDog
parent
ebfba76459
commit
ac5d85a080
@@ -261,11 +261,11 @@
|
||||
ph = 8.1
|
||||
chemical_flags = REAGENT_CAN_BE_SYNTHESIZED
|
||||
|
||||
/datum/reagent/medicine/spaceacillin/on_mob_metabolize(mob/living/L)
|
||||
/datum/reagent/medicine/spaceacillin/on_mob_add(mob/living/L)
|
||||
. = ..()
|
||||
ADD_TRAIT(L, TRAIT_VIRUS_RESISTANCE, type)
|
||||
|
||||
/datum/reagent/medicine/spaceacillin/on_mob_end_metabolize(mob/living/L)
|
||||
/datum/reagent/medicine/spaceacillin/on_mob_delete(mob/living/L)
|
||||
. = ..()
|
||||
REMOVE_TRAIT(L, TRAIT_VIRUS_RESISTANCE, type)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user