mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 13:07:46 +01:00
runtimes
This commit is contained in:
@@ -119,7 +119,8 @@
|
||||
trait.on_squash(src, target)
|
||||
|
||||
for(var/A in T)
|
||||
reagents.reaction(A)
|
||||
if(reagents)
|
||||
reagents.reaction(A)
|
||||
|
||||
qdel(src)
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user