Fix bad kade grammar and make link go changelog ye

This commit is contained in:
Puyo 2021-05-13 15:27:06 +02:00 committed by GitHub
parent 538d3f39b3
commit b287ccbf47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,13 +43,13 @@ class OutdatedSubState extends MusicBeatState
add(kadeLogo); add(kadeLogo);
var txt:FlxText = new FlxText(0, 0, FlxG.width, var txt:FlxText = new FlxText(0, 0, FlxG.width,
"Kade Engine is Outdated!\n" "Your Kade Engine is outdated!\nYou are on "
+ MainMenuState.kadeEngineVer + MainMenuState.kadeEngineVer
+ " is your current version\nwhile the most recent version is " + needVer + "!" + "\nwhile the most recent version is " + needVer + "."
+ "\n\nWhat's new\n\n" + "\n\nWhat's new:\n\n"
+ currChanges + currChanges
+ "\n\n...Bug fixes and other changes included!" + "\n\n + more changes and bugfixes"
+ "\nPress Space to go to Github or ESCAPE to ignore this!!", + "\nPress Space to view the full changelog and update\nor ESCAPE to ignore this",
32); 32);
txt.setFormat("VCR OSD Mono", 32, FlxColor.fromRGB(200, 200, 200), CENTER); txt.setFormat("VCR OSD Mono", 32, FlxColor.fromRGB(200, 200, 200), CENTER);
@ -86,7 +86,7 @@ class OutdatedSubState extends MusicBeatState
{ {
if (controls.ACCEPT) if (controls.ACCEPT)
{ {
FlxG.openURL("https://kadedev.github.io/Kade-Engine/"); FlxG.openURL("https://kadedev.github.io/Kade-Engine/changelogs/changelog-" + needVer);
} }
if (controls.BACK) if (controls.BACK)
{ {
@ -95,4 +95,4 @@ class OutdatedSubState extends MusicBeatState
} }
super.update(elapsed); super.update(elapsed);
} }
} }