summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-03-29 19:05:06 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2016-03-29 19:05:06 +0200
commit2b2b3a210a3c259f7b461ec492ad7521817da506 (patch)
tree919f701aa2dcc1af1b300ed3672a7c03f2f6de03
parentabdf663f5ca8da967874f6d4a1da4e71421619da (diff)
downloadRustAndDust-2b2b3a210a3c259f7b461ec492ad7521817da506.zip
RustAndDust-2b2b3a210a3c259f7b461ec492ad7521817da506.tar.gz
Map4Orders: do not show engagement hud on replay
-rw-r--r--core/src/ch/asynk/rustanddust/game/map/Map4Orders.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java b/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java
index 66855ab..f374902 100644
--- a/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java
+++ b/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java
@@ -285,7 +285,8 @@ public abstract class Map4Orders extends Map3Animations
addDestroyAnimation(e.defender);
}
- game.ctrl.hud.engagementSummary(e);
+ if (!replay)
+ game.ctrl.hud.engagementSummary(e);
addEngagementAnimation(e.defender);
if (engagementCost(e) == 0)