Merge pull request #10 from KriPet/patch-1

Print seed at the start of each run
This commit is contained in:
kyle 2015-04-09 23:56:48 -07:00
commit b3ecf055d2
1 changed files with 1 additions and 0 deletions

View File

@ -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