From 8fb327259bc2cbdf858a77ab7d33f09e5b05b2b0 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Mon, 1 Mar 2021 23:27:04 +0100 Subject: [PATCH] [MIRROR] Shapeshifting runtime fix (#3740) * Shapeshifting runtime fix (#57286) Fixes a runtime when shapeshifting into any form due to a wrong parenthesis for ventcrawling flags * Shapeshifting runtime fix Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com> --- code/modules/spells/spell_types/shapeshift.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/spells/spell_types/shapeshift.dm b/code/modules/spells/spell_types/shapeshift.dm index 85ef6a8e3e1..32989fd2da5 100644 --- a/code/modules/spells/spell_types/shapeshift.dm +++ b/code/modules/spells/spell_types/shapeshift.dm @@ -54,7 +54,7 @@ else M = Shapeshift(M) // Are we currently ventcrawling? - if(!M.movement_type & (VENTCRAWLING)) + if(!(M.movement_type & VENTCRAWLING)) return // Can our new form support ventcrawling?