From 01669f7f8824487d8d436126e0cf752bdb9a88e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 30 Mar 2016 16:20:59 +0200 Subject: Map4Orders: use RustAndDust.error instead of err.println --- core/src/ch/asynk/rustanddust/game/map/Map4Orders.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java b/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java index 9b24d80..fa591cd 100644 --- a/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java +++ b/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java @@ -186,7 +186,7 @@ public abstract class Map4Orders extends Map3Animations r = doEngagement(order.engagement, replay); break; default: - System.err.println(String.format("process wrong Order type %s", order.type)); + RustAndDust.error(String.format("Unhandled Order Type %s", order.type)); break; } @@ -233,7 +233,7 @@ public abstract class Map4Orders extends Map3Animations claim(unit, move.to); break; default: - System.err.println(String.format("process wrong Move type %s", move.type)); + RustAndDust.error(String.format("Unhandled Move Type %s", move.type)); return false; } -- cgit v1.1-2-g2b99