diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/PossiblePaths.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/PossiblePaths.java b/core/src/ch/asynk/tankontank/engine/PossiblePaths.java index 847b88e..1dbb12b 100644 --- a/core/src/ch/asynk/tankontank/engine/PossiblePaths.java +++ b/core/src/ch/asynk/tankontank/engine/PossiblePaths.java @@ -192,8 +192,10 @@ public class PossiblePaths implements Disposable public Move getMove() { - if (size() != 1) + if (size() != 1) { + System.err.println("ask for only move but they are many"); return null; + } return Move.get(pawn, from, to, orientation, getPath(0)); } |