Skip to content

Commit fae860d

Browse files
committed
gaming chair
🪑
1 parent affdadc commit fae860d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/funkin/backend/utils/XMLUtil.hx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,10 @@ class XMLUtil {
143143
var graphicSizey:Null<Int> = Std.parseInt(node.att.graphicSizey);
144144
if (graphicSizey.isNotNull()) spr.setGraphicSize(0, graphicSizey);
145145
}
146-
if ((node.has.flipX && node.att.flipX == "true") || (node.has.flipx && node.att.flipx == "true")) spr.flipX = true;
147-
if ((node.has.flipY && node.att.flipY == "true") || (node.has.flipy && node.att.flipy == "true")) spr.flipY = true;
146+
if (node.has.flipX) spr.flipX = node.att.flipX == "true";
147+
if (node.has.flipY) spr.flipY = node.att.flipY == "true";
148148
if (node.has.updateHitbox && node.att.updateHitbox == "true") spr.updateHitbox();
149-
149+
150150
if (node.has.zoomfactor)
151151
spr.zoomFactor = Std.parseFloat(node.getAtt("zoomfactor")).getDefault(spr.zoomFactor);
152152

0 commit comments

Comments
 (0)