Skip to content

Commit affdadc

Browse files
Allow for flipx and flipy
as opposed to flipX and flipY (cammel text)
1 parent ebbb1d8 commit affdadc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/funkin/backend/utils/XMLUtil.hx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ 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") spr.flipX = true;
147-
if (node.has.flipY && node.att.flipY == "true") spr.flipY = true;
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;
148148
if (node.has.updateHitbox && node.att.updateHitbox == "true") spr.updateHitbox();
149149

150150
if (node.has.zoomfactor)

0 commit comments

Comments
 (0)