Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
this should be on startup instead
Browse files Browse the repository at this point in the history
  • Loading branch information
moxie-coder committed Aug 5, 2023
1 parent f3e0776 commit 6e699c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions source/Main.hx
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ class Main extends Sprite
openfl.system.System.gc();
});

FlxG.fixedTimestep = false;

addChild(new FlxGame(gameWidth, gameHeight, initialState, #if (flixel < "5.0.0") zoom, #end framerate, framerate, skipSplash, startFullscreen));

fps = new FpsDisplay(10, 3, 0xFFFFFF);
Expand Down
2 changes: 0 additions & 2 deletions source/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -444,8 +444,6 @@ class PlayState extends MusicBeatState

FlxG.worldBounds.set(0, 0, FlxG.width, FlxG.height);

FlxG.fixedTimestep = false;

// char repositioning
repositionChar(dad);
if (dadmirror != null)
Expand Down

0 comments on commit 6e699c5

Please sign in to comment.