Skip to content

Commit

Permalink
fix arg
Browse files Browse the repository at this point in the history
  • Loading branch information
Geokureli committed Feb 21, 2024
1 parent 5b3aa8c commit 425daef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flixel/util/FlxTimer.hx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class FlxTimer implements IFlxDestroyable
* @param loops How many times the timer should go off. `0` means "looping forever".
* @return The `FlxTimer` instance
*/
public static inline function wait(time:Float, callback:(FlxTimer)->Void, loops = 1)
public static inline function wait(time:Float, onComplete:(FlxTimer)->Void, loops = 1)
{
return new FlxTimer().start(time, onComplete, loops);
}
Expand Down

0 comments on commit 425daef

Please sign in to comment.