diff options
| -rw-r--r-- | core/src/com/ilotterytea/maxoning/ui/MovingChessBackground.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/com/ilotterytea/maxoning/ui/MovingChessBackground.java b/core/src/com/ilotterytea/maxoning/ui/MovingChessBackground.java index 6c9c4f1..be8482d 100644 --- a/core/src/com/ilotterytea/maxoning/ui/MovingChessBackground.java +++ b/core/src/com/ilotterytea/maxoning/ui/MovingChessBackground.java @@ -111,7 +111,7 @@ public class MovingChessBackground { tile.setPosition(fTile.getX() - tile.getWidth(), fTile.getY()); - if (tile.getDrawable() == fTile.getDrawable()) { + if (array.size() > 1 && tile.getDrawable() == fTile.getDrawable()) { tile.setDrawable(array.get(1).getDrawable()); } |
