diff options
| author | ilotterytea <iltsu@alright.party> | 2022-12-24 18:17:16 +0600 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2022-12-24 18:17:16 +0600 |
| commit | e9deb6ea4ea61aa7aaab5102ee5efa81b2d55541 (patch) | |
| tree | 7e7c4c470544eb38c840bb02bb3cf76d4a1a8124 | |
| parent | c6d944bc8d3c86695a25b0a19cb4ab9baf0ec694 (diff) | |
surely it resolves #19
| -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()); } |
