From e77606677c4bfa4fe816b9422e66739646548198 Mon Sep 17 00:00:00 2001 From: nhaar Date: Wed, 18 Oct 2023 09:37:31 -0300 Subject: [PATCH] fix importing collision event files when the objects already exist --- UndertaleModTool/ImportCodeSystem.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/UndertaleModTool/ImportCodeSystem.cs b/UndertaleModTool/ImportCodeSystem.cs index 360df7590..7b5c7aa4b 100644 --- a/UndertaleModTool/ImportCodeSystem.cs +++ b/UndertaleModTool/ImportCodeSystem.cs @@ -341,13 +341,6 @@ void ImportCode(string codeName, string gmlCode, bool IsGML = true, bool doParse Data.GameObjects.Add(gameObj); } } - if (Data.GameObjects.ByName(methodNumberStr) != null) - { - // It *needs* to have a valid value, make the user specify one, silly. - List possible_values = new List(); - possible_values.Add(uint.MaxValue); - ReassignGUIDs(methodNumberStr, ReduceCollisionValue(possible_values)); - } } else {