Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
LarryFrosty committed Sep 24, 2024
1 parent 9246a69 commit 2ba0628
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/Main.hx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class Main extends Sprite
Lib.current.addChild(new Main());
#if cpp
cpp.NativeGc.enable(true);
cpp.NativeGc.run(true);
#elseif hl
hl.Gc.enable(true);
#end
Expand Down Expand Up @@ -164,8 +165,7 @@ class Main extends Sprite
#if android FlxG.android.preventDefaultKeys = [BACK]; #end

#if mobile
LimeSystem.allowScreenTimeout = ClientPrefs.data.screensaver;
FlxG.scaleMode = new MobileScaleMode();
LimeSystem.allowScreenTimeout = ClientPrefs.data.screensaver;
#end

// shader coords fix
Expand Down

0 comments on commit 2ba0628

Please sign in to comment.