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:
@@ -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"];
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user