This commit is contained in:
Fox-McCloud
2017-01-26 04:23:43 -05:00
parent cd93a21a97
commit 73ac77e8df
2 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -119,7 +119,8 @@
trait.on_squash(src, target)
for(var/A in T)
reagents.reaction(A)
if(reagents)
reagents.reaction(A)
qdel(src)
+4 -2
View File
@@ -317,7 +317,8 @@
/datum/plant_gene/trait/noreact/on_squash(obj/item/weapon/reagent_containers/food/snacks/grown/G, atom/target)
G.flags &= ~NOREACT
G.reagents.handle_reactions()
if(G && G.reagents)
G.reagents.handle_reactions()
/datum/plant_gene/trait/maxchem
@@ -390,7 +391,8 @@
S.attach(splat_location)
S.set_up(G.reagents, 2, 0, splat_location)
S.start(smoke_amount)
G.reagents.clear_reagents()
if(G && G.reagents)
G.reagents.clear_reagents()
/datum/plant_gene/trait/plant_type // Parent type
name = "you shouldn't see this"