Skip to content

Commit

Permalink
fix version
Browse files Browse the repository at this point in the history
  • Loading branch information
Geokureli committed Mar 10, 2024
1 parent e0a906a commit 7421525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flixel/addons/util/FlxFSM.hx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class FlxFSM<T> implements IFlxDestroyable

if (newName != null && !pools.exists(newName))
{
#if (flixel < version("5.4.0"))
#if (flixel < version("5.5.0"))
final newStateConstructor = newStateClass;
#else
final newStateConstructor = ()->Type.createInstance(newStateClass, []);
Expand Down

0 comments on commit 7421525

Please sign in to comment.