summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-06-21 04:36:49 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-06-21 04:36:49 +0200
commit853f29536aa37e2dc4ab67cd1091cbc85594b9f9 (patch)
treead668394012a3455e9d3fc6ba8771a6ccea3ca13
parentc039b643fa3bc25cfc41511c881992e80ca9b1de (diff)
downloadJRummikub-853f29536aa37e2dc4ab67cd1091cbc85594b9f9.tar
JRummikub-853f29536aa37e2dc4ab67cd1091cbc85594b9f9.zip
Reset total time at end of turn
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@540 72836036-5685-4462-b002-a69064685172
-rw-r--r--src/jrummikub/control/RoundControl.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jrummikub/control/RoundControl.java b/src/jrummikub/control/RoundControl.java
index 62a57cf..c24a7f5 100644
--- a/src/jrummikub/control/RoundControl.java
+++ b/src/jrummikub/control/RoundControl.java
@@ -322,6 +322,8 @@ public class RoundControl {
}
view.setBottomPanel(BottomPanelType.NONHUMAN_HAND_PANEL);
+ view.getPlayerPanel().setTime(roundState.getGameSettings().getTotalTime(),
+ roundState.getGameSettings().getTotalTime());
if (wasHuman || wasAI) {
nextPlayer();