Skip to content

Commit 6612fa6

Browse files
committed
added ICON_DEFAULT_SCALE to Flags
1 parent 5d63442 commit 6612fa6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

source/funkin/backend/system/Flags.hx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ class Flags {
169169
public static var DEFAULT_HEALTH:Null<Float> = null;//DEFAULT_MAX_HEALTH / 2.0;
170170
public static var DEFAULT_ICONBOP:Bool = true;
171171
public static var BOP_ICON_SCALE:Float = 1.2;
172+
public static var ICON_DEFAULT_SCALE:Float = 1;
172173
public static var ICON_OFFSET:Float = 26;
173174
public static var ICON_LERP:Float = 0.33;
174175

source/funkin/game/HealthIcon.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class HealthIcon extends FunkinSprite
5555
*
5656
* This is what scale the icon should return to when its bump animation is finished
5757
*/
58-
public var defaultScale:Float = 1;
58+
public var defaultScale:Float = Flags.ICON_DEFAULT_SCALE;
5959

6060
/**
6161
* Whenever or not the icon is animated or not

0 commit comments

Comments
 (0)