Merge pull request #10 from KriPet/patch-1
Print seed at the start of each run
This commit is contained in:
commit
b3ecf055d2
1
main.lua
1
main.lua
|
@ -91,6 +91,7 @@ local function resetAll()
|
|||
print("RUNNING WITH A FIXED SEED ("..strategies.seed.."), every run will play out identically!")
|
||||
else
|
||||
strategies.seed = os.time()
|
||||
print("PokeBot version "..VERSION.." starting new run with seed "..strategies.seed..".")
|
||||
end
|
||||
math.randomseed(strategies.seed)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue