Add a flag related to Icon Movement on the Healthbar (#1005)

* add flag

* Make The Flag be used in PlayState
This commit is contained in:
Circuitella
2026-06-28 09:32:23 +07:00
committed by GitHub
parent a485080c27
commit 45d47677ac
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ class Flags {
public static var DEFAULT_BEATS_PER_MEASURE:Int = 4;
public static var DEFAULT_STEPS_PER_BEAT:Int = 4;
public static var DEFAULT_LOOP_TIME:Float = 0.0;
public static var ICONS_AUTOPOSITION:Bool = true;
public static var SUPPORTED_CHART_RUNTIME_FORMATS:Array<String> = ["Legacy", "Psych Engine"];
public static var SUPPORTED_CHART_FORMATS:Array<String> = ["BaseGame"];
+1 -1
View File
@@ -943,7 +943,7 @@ class PlayState extends MusicBeatState
// Make icons appear in the correct spot during cutscenes
healthBar.update(0);
if (updateIconPositions != null)
if (updateIconPositions != null && Flags.ICONS_AUTOPOSITION)
updateIconPositions();
__updateNote_event = EventManager.get(NoteUpdateEvent);