now it compiles
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user