summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-12-10 09:43:32 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-12-10 09:43:32 +0100
commitcb08556e89a392e12d31d1483b2ce675ad346255 (patch)
tree5d7c05e576c9e27b18ec42746f47024ac0024102 /core/src/ch
parentff7242f6d6751f5eaf4b1fceb5cb4a211150f87b (diff)
downloadRustAndDust-cb08556e89a392e12d31d1483b2ce675ad346255.zip
RustAndDust-cb08556e89a392e12d31d1483b2ce675ad346255.tar.gz
BattleCommon: set Random seed
Diffstat (limited to 'core/src/ch')
-rw-r--r--core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java b/core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java
index 0cd753e..5d97460 100644
--- a/core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java
+++ b/core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java
@@ -16,7 +16,7 @@ import ch.asynk.rustanddust.game.State.StateType;
public abstract class BattleCommon implements Battle
{
- protected final static Random random = new Random();
+ protected final static Random random = new Random(System.currentTimeMillis());
protected Factory.MapType mapType;
protected String name;