File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
source/funkin/backend/utils Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments