diff options
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r-- | core/src/ch/asynk/rustanddust/engine/Pawn.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/engine/Pawn.java b/core/src/ch/asynk/rustanddust/engine/Pawn.java index 704b782..fc20611 100644 --- a/core/src/ch/asynk/rustanddust/engine/Pawn.java +++ b/core/src/ch/asynk/rustanddust/engine/Pawn.java @@ -122,6 +122,10 @@ public abstract class Pawn implements Moveable, Disposable if (this.move != null) throw new RuntimeException("try to override an existing move instance"); break; + case EXIT: + if (this.move != null) + throw new RuntimeException("try to override an existing move instance"); + break; case SET: break; default: |