Skip to content

Commit

Permalink
Fix compile errors after updating utmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Miepee committed Jan 5, 2024
1 parent 0c5d93b commit 3f4ad19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GlennLib/RawMods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ private static void ChangeToByteCode16(UndertaleData Data, OutputHandlerDelegate
throw new NotSupportedException("Bytecode 14 is not supported.");
if (bcVersion == 17)
throw new NotSupportedException("Bytecode 17 is not supported.");
if (!((Data.GMS2_3 == false) && (Data.GMS2_3_1 == false) && (Data.GMS2_3_2 == false)))
if (Data.IsVersionAtLeast(2, 3))
throw new NotSupportedException("GMS 2.3+ is not supported.");
if (bcVersion != 14 && bcVersion != 15 && bcVersion != 16)
throw new NotSupportedException("Unknown Bytecode version!");
Expand Down

0 comments on commit 3f4ad19

Please sign in to comment.