mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user