diff --git a/YAMS-LIB/patches/StartingItems.cs b/YAMS-LIB/patches/StartingItems.cs index cb5b479..34a8eb6 100644 --- a/YAMS-LIB/patches/StartingItems.cs +++ b/YAMS-LIB/patches/StartingItems.cs @@ -205,7 +205,6 @@ public static void Apply(UndertaleData gmData, GlobalDecompileContext decompileC global.maxsmissiles = global.smissiles global.maxpbombs = global.pbombs; """); - characterVarsCode.ReplaceGMLInCode("global.currentsuit = 0", - "global.currentsuit = 0; if (global.hasGravity) global.currentsuit = 2; else if (global.hasVaria) global.currentsuit = 1;"); + characterVarsCode.AppendGMLInCode("global.currentsuit = 0; if (global.hasGravity) global.currentsuit = 2; else if (global.hasVaria) global.currentsuit = 1;"); } }