Skip to content

Commit

Permalink
Merge pull request #1505 from nhaar/collision-event-fix
Browse files Browse the repository at this point in the history
fix importing collision event files when the objects already exist
  • Loading branch information
colinator27 authored Nov 11, 2023
2 parents 48ada50 + e776066 commit acdc440
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 acdc440

Please sign in to comment.