summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/src/ch/asynk/rustanddust/game/map/Map4Orders.java4
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;
}