Skip to content

Commit

Permalink
fix importing collision event files when the objects already exist
Browse files Browse the repository at this point in the history
  • Loading branch information
nhaar committed Oct 18, 2023
1 parent 7b876ad commit e776066
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions UndertaleModTool/ImportCodeSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<uint> possible_values = new List<uint>();
possible_values.Add(uint.MaxValue);
ReassignGUIDs(methodNumberStr, ReduceCollisionValue(possible_values));
}
}
else
{
Expand Down

0 comments on commit e776066

Please sign in to comment.