about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config.go b/src/config.go
index 577862c..706d29e 100644
--- a/src/config.go
+++ b/src/config.go
@@ -2,6 +2,7 @@ package main
 
 import (
 	"flag"
+	"time"
 
 	"github.com/sirupsen/logrus"
 )
@@ -14,7 +15,7 @@ func parseConfig() Config {
 	bits := flag.Int("bits", 32, "bot bitness (8|16|32|64)")
 	maxProgSize := flag.Int("maxProgSize", 64, "the maximum bot size")
 	memPerBot := flag.Int("memPerBot", 512, "the amount of memory each bot should add to the arena")
-	gameRoundDuration := flag.Duration("t", 250, "The duration of a round")
+	gameRoundDuration := flag.Duration("t", 250*time.Millisecond, "The duration of a round")
 
 	v := flag.Bool("v", false, "info")
 	vv := flag.Bool("vv", false, "debug")