From 425daef973b23744e666a25cb7baedbf11d9d87a Mon Sep 17 00:00:00 2001 From: George FunBook Date: Wed, 21 Feb 2024 14:34:42 -0600 Subject: [PATCH] fix arg --- flixel/util/FlxTimer.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flixel/util/FlxTimer.hx b/flixel/util/FlxTimer.hx index 4f66b21eeb..45081f1563 100644 --- a/flixel/util/FlxTimer.hx +++ b/flixel/util/FlxTimer.hx @@ -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); }