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)
|
FlxTween.tween(menuItem,{y: 60 + (i * 160)},1 + (i * 0.25) ,{ease: FlxEase.expoInOut, onComplete: function(flxTween:FlxTween)
|
||||||
{
|
{
|
||||||
finishedFunnyMove = true;
|
finishedFunnyMove = true;
|
||||||
|
changeItem();
|
||||||
}});
|
}});
|
||||||
else
|
else
|
||||||
menuItem.y = 60 + (i * 160);
|
menuItem.y = 60 + (i * 160);
|
||||||
@ -164,11 +165,7 @@ class MainMenuState extends MusicBeatState
|
|||||||
{
|
{
|
||||||
if (optionShit[curSelected] == 'donate')
|
if (optionShit[curSelected] == 'donate')
|
||||||
{
|
{
|
||||||
#if linux
|
fancyOpenURL("https://www.kickstarter.com/projects/funkin/friday-night-funkin-the-full-ass-game");
|
||||||
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
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -263,4 +260,4 @@ class MainMenuState extends MusicBeatState
|
|||||||
spr.updateHitbox();
|
spr.updateHitbox();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -111,4 +111,13 @@ class MusicBeatState extends FlxUIState
|
|||||||
{
|
{
|
||||||
//do literally nothing dumbass
|
//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)
|
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)
|
if (controls.BACK)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user