forked from SteamWar/SteamWar
Fix older replays
This commit is contained in:
@@ -35,6 +35,7 @@ public class RandomSeed {
|
|||||||
|
|
||||||
public RandomSeed() {
|
public RandomSeed() {
|
||||||
new OneShotStateDependent(ArenaMode.AntiReplay, FightState.PreSchemSetup, () -> {
|
new OneShotStateDependent(ArenaMode.AntiReplay, FightState.PreSchemSetup, () -> {
|
||||||
|
initialized = true;
|
||||||
this.seed = System.nanoTime();
|
this.seed = System.nanoTime();
|
||||||
GlobalRecorder.getInstance().seed(seed);
|
GlobalRecorder.getInstance().seed(seed);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user