now it compiles

This commit is contained in:
Yoshman29
2022-12-16 19:48:30 +01:00
parent 957dabc498
commit ae7a945f81
2 changed files with 3 additions and 3 deletions
+3 -3
View File
@@ -3,15 +3,15 @@ package funkin.updating;
import funkin.updating.UpdateUtil.UpdateCheckCallback;
class UpdateScreen extends MusicBeatState {
public var updater:Updater;
public var updater:AsyncUpdater;
public function new(check:UpdateCheckCallback) {
super(false);
updater = new AsyncUpdater(check);
updater = new AsyncUpdater(check.updates);
}
public override function create() {
super.create();
Main.execAsync(installUpdates);
updater.execute();
}
}