This commit is contained in:
lolman360
2020-08-09 23:52:21 +10:00
parent fee304fb19
commit 6c57dce54e
6 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ GLOBAL_LIST_INIT(name2reagent, build_name2reagent())
. = ..()
if(material)
material = getmaterialref(material)
material = SSmaterials.GetMaterialRef(material)
/datum/reagent/Destroy() // This should only be called by the holder, so it's already handled clearing its references
@@ -2273,7 +2273,7 @@
/datum/reagent/gravitum/reaction_obj(obj/O, volume)
O.AddElement(/datum/element/forced_gravity, 0)
addtimer(CALLBACK(O, .proc/RemoveElement, /datum/element/forced_gravity, 0), volume * time_multiplier)
addtimer(CALLBACK(O, .proc/_RemoveElement, /datum/element/forced_gravity, 0), volume * time_multiplier)
/datum/reagent/gravitum/on_mob_add(mob/living/L)
L.AddElement(/datum/element/forced_gravity, 0) //0 is the gravity, and in this case weightless