remind me to test shit before commiting

This commit is contained in:
Yoshman29
2023-01-01 04:09:15 +01:00
parent e9a15c8b0e
commit d96667e17e
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1 +1 @@
1875
1876
+2 -2
View File
@@ -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);
+1 -1
View File
@@ -22,7 +22,7 @@ typedef SwagSong =
var gf:String;
var validScore:Bool;
var maxHealth:Null<Float>;
@:optional var maxHealth:Null<Float>;
}
class Song