Merge pull request #624 from prokube/patch-1

Fix the latest version checker to actually work
This commit is contained in:
Puyo 2021-05-30 12:07:02 +02:00 committed by GitHub
commit 81050a8732
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -309,9 +309,8 @@ class TitleState extends MusicBeatState
new FlxTimer().start(2, function(tmr:FlxTimer) new FlxTimer().start(2, function(tmr:FlxTimer)
{ {
// Get current version of Kade Engine // Get current version of Kade Engine
//var http = new haxe.Http("https://raw.githubusercontent.com/KadeDev/Kade-Engine/master/version.downloadMe"); var http = new haxe.Http("https://raw.githubusercontent.com/KadeDev/Kade-Engine/master/version.downloadMe");
var http = new haxe.Http("https://raw.githubusercontent.com/KadeDev/Kade-Engine/patchnotes/version.downloadMe");
var returnedData:Array<String> = []; var returnedData:Array<String> = [];
http.onData = function (data:String) http.onData = function (data:String)