diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-12-10 09:43:32 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-12-10 09:43:32 +0100 |
commit | cb08556e89a392e12d31d1483b2ce675ad346255 (patch) | |
tree | 5d7c05e576c9e27b18ec42746f47024ac0024102 | |
parent | ff7242f6d6751f5eaf4b1fceb5cb4a211150f87b (diff) | |
download | RustAndDust-cb08556e89a392e12d31d1483b2ce675ad346255.zip RustAndDust-cb08556e89a392e12d31d1483b2ce675ad346255.tar.gz |
BattleCommon: set Random seed
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java | 2 |
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; |