From cb08556e89a392e12d31d1483b2ce675ad346255 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 10 Dec 2015 09:43:32 +0100 Subject: BattleCommon: set Random seed --- core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.1-2-g2b99