remind me to test shit before commiting
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
||||
1875
|
||||
1876
|
||||
@@ -1178,8 +1178,8 @@ class PlayState extends MusicBeatState
|
||||
iconP1.x = healthBar.x + (healthBar.width * (FlxMath.remapToRange(healthBar.percent, 0, 100, 1, 0)) - iconOffset);
|
||||
iconP2.x = healthBar.x + (healthBar.width * (FlxMath.remapToRange(healthBar.percent, 0, 100, 1, 0))) - (iconP2.width - iconOffset);
|
||||
|
||||
if (health > 2)
|
||||
health = 2;
|
||||
if (health > maxHealth)
|
||||
health = maxHealth;
|
||||
|
||||
iconP1.health = healthBar.percent / 100;
|
||||
iconP2.health = 1 - (healthBar.percent / 100);
|
||||
|
||||
@@ -22,7 +22,7 @@ typedef SwagSong =
|
||||
var gf:String;
|
||||
var validScore:Bool;
|
||||
|
||||
var maxHealth:Null<Float>;
|
||||
@:optional var maxHealth:Null<Float>;
|
||||
}
|
||||
|
||||
class Song
|
||||
|
||||
Reference in New Issue
Block a user