Merge pull request #678 from prokube/little-things
two things that literally don't affect anything
This commit is contained in:
commit
9911ecf3b6
@ -105,6 +105,7 @@ class MainMenuState extends MusicBeatState
|
||||
FlxTween.tween(menuItem,{y: 60 + (i * 160)},1 + (i * 0.25) ,{ease: FlxEase.expoInOut, onComplete: function(flxTween:FlxTween)
|
||||
{
|
||||
finishedFunnyMove = true;
|
||||
changeItem();
|
||||
}});
|
||||
else
|
||||
menuItem.y = 60 + (i * 160);
|
||||
@ -164,11 +165,7 @@ class MainMenuState extends MusicBeatState
|
||||
{
|
||||
if (optionShit[curSelected] == 'donate')
|
||||
{
|
||||
#if linux
|
||||
Sys.command('/usr/bin/xdg-open', ["https://www.kickstarter.com/projects/funkin/friday-night-funkin-the-full-ass-game", "&"]);
|
||||
#else
|
||||
FlxG.openURL('https://www.kickstarter.com/projects/funkin/friday-night-funkin-the-full-ass-game');
|
||||
#end
|
||||
fancyOpenURL("https://www.kickstarter.com/projects/funkin/friday-night-funkin-the-full-ass-game");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -111,4 +111,13 @@ class MusicBeatState extends FlxUIState
|
||||
{
|
||||
//do literally nothing dumbass
|
||||
}
|
||||
|
||||
public function fancyOpenURL(schmancy:String)
|
||||
{
|
||||
#if linux
|
||||
Sys.command('/usr/bin/xdg-open', [schmancy, "&"]);
|
||||
#else
|
||||
FlxG.openURL(schmancy);
|
||||
#end
|
||||
}
|
||||
}
|
||||
|
@ -86,7 +86,7 @@ class OutdatedSubState extends MusicBeatState
|
||||
{
|
||||
if (controls.ACCEPT)
|
||||
{
|
||||
FlxG.openURL("https://kadedev.github.io/Kade-Engine/changelogs/changelog-" + needVer);
|
||||
fancyOpenURL("https://kadedev.github.io/Kade-Engine/changelogs/changelog-" + needVer);
|
||||
}
|
||||
if (controls.BACK)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user