[MIRROR] Fix burning black crossbreed runtime on humanizing (#834)

* Fix burning black crossbreed runtime on humanizing (#53740)

When transforming back to a human, /obj/effect/proc_holder/spell/targeted/shapeshift/slimeform/Restore called the parent but didn't return it, instead returning nothing (always null).

It's used in /obj/effect/proc_holder/spell/targeted/shapeshift/cast when transforming back to human via the Burning Black crossbreed which expect Restore() to return a mob. The code would then go on to immediately runtime.

With the appropriate return, this runtime no longer happens as the value is no longer null.

* Fix burning black crossbreed runtime on humanizing

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
This commit is contained in:
SkyratBot
2020-09-17 02:06:11 +01:00
committed by GitHub
co-authored by Timberpoes
parent 0b05c5b5ee
commit 494a4509c2
@@ -21,7 +21,7 @@ Slimecrossing Mobs
if(remove_on_restore)
if(M.mind)
M.mind.RemoveSpell(src)
..()
return ..()
//Transformed slime - Burning Black
/mob/living/simple_animal/slime/transformedslime