Skip to content

Commit

Permalink
Merge pull request #15336 from Fusion243/experimental
Browse files Browse the repository at this point in the history
Fixed a couple bugs i found in prerelease
  • Loading branch information
ShadowMario authored Aug 17, 2024
2 parents e4fde76 + 184768c commit 2cddc2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion source/states/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@ class PlayState extends MusicBeatState
initHScript(folder + file);
#end
}
#end

var camPos:FlxPoint = FlxPoint.get(girlfriendCameraOffset[0], girlfriendCameraOffset[1]);
if(gf != null)
Expand All @@ -433,7 +434,7 @@ class PlayState extends MusicBeatState
gf.visible = false;
}


#if (LUA_ALLOWED || HSCRIPT_ALLOWED)
// STAGE SCRIPTS
#if LUA_ALLOWED startLuasNamed('stages/' + curStage + '.lua'); #end
#if HSCRIPT_ALLOWED startHScriptsNamed('stages/' + curStage + '.hx'); #end
Expand Down
2 changes: 1 addition & 1 deletion source/states/StoryMenuState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class StoryMenuState extends MusicBeatState
Paths.clearStoredMemory();
Paths.clearUnusedMemory();

persistentUpdate = persistentDraw = true;
PlayState.isStoryMode = true;
WeekData.reloadWeekFiles(true);

Expand All @@ -67,7 +68,6 @@ class StoryMenuState extends MusicBeatState
}

if(curWeek >= WeekData.weeksList.length) curWeek = 0;
persistentUpdate = persistentDraw = true;

scoreText = new FlxText(10, 10, 0, Language.getPhrase('week_score', 'WEEK SCORE: {1}', [lerpScore]), 36);
scoreText.setFormat("VCR OSD Mono", 32);
Expand Down

0 comments on commit 2cddc2f

Please sign in to comment.