Log splits for replays
This commit is contained in:
parent
b4d1c9dc32
commit
335a4740a2
|
@ -408,7 +408,7 @@ Strategies.functions = {
|
||||||
|
|
||||||
split = function(data)
|
split = function(data)
|
||||||
Bridge.split(data and data.finished)
|
Bridge.split(data and data.finished)
|
||||||
if not INTERNAL then
|
if Strategies.replay then
|
||||||
splitNumber = splitNumber + 1
|
splitNumber = splitNumber + 1
|
||||||
|
|
||||||
local timeDiff
|
local timeDiff
|
||||||
|
|
1
main.lua
1
main.lua
|
@ -51,6 +51,7 @@ local function resetAll()
|
||||||
|
|
||||||
if CUSTOM_SEED then
|
if CUSTOM_SEED then
|
||||||
Strategies.seed = CUSTOM_SEED
|
Strategies.seed = CUSTOM_SEED
|
||||||
|
Strategies.replay = true
|
||||||
p("RUNNING WITH A FIXED SEED ("..Strategies.seed.."), every run will play out identically!", true)
|
p("RUNNING WITH A FIXED SEED ("..Strategies.seed.."), every run will play out identically!", true)
|
||||||
else
|
else
|
||||||
Strategies.seed = os.time()
|
Strategies.seed = os.time()
|
||||||
|
|
Loading…
Reference in New Issue