Fix typo, fix main menu not loading after title screen, remove one more useless file and fix probably intentional typo
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
package;
|
||||
|
||||
class APIStuff
|
||||
{
|
||||
public static var API:String = "";
|
||||
public static var EncKey:String = "";
|
||||
}
|
||||
@@ -128,12 +128,12 @@ class Paths
|
||||
|
||||
inline static public function getSparrowAtlas(key:String, ?library:String, ?isCharacter:Bool = false)
|
||||
{
|
||||
var usecahce = FlxG.save.data.cacheImages;
|
||||
var useCache = FlxG.save.data.cacheImages;
|
||||
#if !cpp
|
||||
usecahce = false;
|
||||
useCache = false;
|
||||
#end
|
||||
if (isCharacter)
|
||||
if (usecahce)
|
||||
if (useCache)
|
||||
#if cpp
|
||||
return FlxAtlasFrames.fromSparrow(imageCached(key), file('images/characters/$key.xml', library));
|
||||
#else
|
||||
|
||||
@@ -54,7 +54,7 @@ class TitleState extends MusicBeatState
|
||||
override public function create():Void
|
||||
{
|
||||
#if polymod
|
||||
polymod.Polymod.init({modRoot: "mods", dirs: ['introMod']});
|
||||
//polymod.Polymod.init({modRoot: "mods", dirs: ['introMod']});
|
||||
#end
|
||||
|
||||
#if sys
|
||||
@@ -290,6 +290,11 @@ class TitleState extends MusicBeatState
|
||||
MainMenuState.firstStart = true;
|
||||
MainMenuState.finishedFunnyMove = false;
|
||||
|
||||
new FlxTimer().start(2, function(tmr:FlxTimer)
|
||||
{
|
||||
FlxG.switchState(new MainMenuState());
|
||||
clean();
|
||||
});
|
||||
// FlxG.sound.play(Paths.music('titleShoot'), 0.7);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user