diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-03-30 16:20:59 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-03-30 16:20:59 +0200 |
commit | 01669f7f8824487d8d436126e0cf752bdb9a88e2 (patch) | |
tree | 44db50f31207540a48b726aafeb81100a4dd76d1 /core/src/ch/asynk/rustanddust/game | |
parent | 8acd41d4583d66f12765c705bdb4bd6d27ff018d (diff) | |
download | RustAndDust-01669f7f8824487d8d436126e0cf752bdb9a88e2.zip RustAndDust-01669f7f8824487d8d436126e0cf752bdb9a88e2.tar.gz |
Map4Orders: use RustAndDust.error instead of err.println
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/map/Map4Orders.java | 4 |
1 files 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; } |