Commited uncompliedable code (oops)

This commit is contained in:
Fermi
2019-04-23 22:38:18 +01:00
parent 51d7d62379
commit 492f3fde88
2 changed files with 4 additions and 2 deletions
+3 -2
View File
@@ -837,10 +837,11 @@
cached_reagents += R
R.holder = src
R.volume = amount
R.loc = get_turf(my_atom)
if(data)
R.data = data
R.on_new(data)
R.loc = holder.loc
R.on_new(data)
if(isliving(my_atom))
R.on_mob_add(my_atom) //Must occur befor it could posibly run on_mob_delete
@@ -36,6 +36,7 @@
//Fermichem vars:
var/purity = 1
var/impureChem = "toxin"
var/loc = null
/datum/reagent/Destroy() // This should only be called by the holder, so it's already handled clearing its references
. = ..()