From edf03bf27886c3b0955b4a044728d90981e0d3c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Fri, 1 Apr 2016 01:01:29 +0200 Subject: Ctrl: add error msg in getState(StateType) --- core/src/ch/asynk/rustanddust/game/Ctrl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/ch/asynk/rustanddust/game/Ctrl.java b/core/src/ch/asynk/rustanddust/game/Ctrl.java index eba5e39..bd93601 100644 --- a/core/src/ch/asynk/rustanddust/game/Ctrl.java +++ b/core/src/ch/asynk/rustanddust/game/Ctrl.java @@ -517,6 +517,7 @@ public abstract class Ctrl implements Disposable state = replayState; break; default: + RustAndDust.error(String.format("Unhandled State : %s", nextState)); break; } -- cgit v1.1-2-g2b99