Fixes a ci error caused by adding an element to something that'd being deleted (#59108)

So that's why mythril coins kept harddeleting.
Man I'm glad I added an error on adding elements to qdeleted objects.
This commit is contained in:
LemonInTheDark
2021-05-14 18:37:34 -07:00
committed by GitHub
parent 46711a89aa
commit 8d1c6c9bca
+1 -1
View File
@@ -100,7 +100,7 @@
/datum/fantasy_affix/ugly/remove(datum/component/fantasy/comp)
var/obj/item/master = comp.parent
master.AddElement(/datum/element/beauty, min(comp.quality, -1) * 250)
master.RemoveElement(/datum/element/beauty, min(comp.quality, -1) * 250)
/datum/fantasy_affix/venomous
name = "<poisonname>-laced (picked from small pool of toxins)"