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:
AirDog46
2025-04-23 23:38:47 +03:00
parent 61eb589cf0
commit e03cd7d1c3
5 changed files with 17 additions and 21 deletions

View File

@@ -1,7 +0,0 @@
package;
class APIStuff
{
public static var API:String = "";
public static var EncKey:String = "";
}

View File

@@ -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

View File

@@ -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);
}