Commit 18a6d4d1 authored by Matthew Hausknecht's avatar Matthew Hausknecht

Added default seed of -1.

parent 81feb436
......@@ -124,7 +124,7 @@ def parseArgs():
help='Offense starts with the ball.')
p.add_argument('--fullstate', dest='fullstate', action='store_true',
help='Server provides full-state information to agents.')
p.add_argument('--seed', dest='seed', type=int,
p.add_argument('--seed', dest='seed', type=int, default=-1,
help='Seed the server\'s RNG. Default: time.')
args = p.parse_args()
if args.offenseAgents not in xrange(0, 11):
......
......@@ -360,7 +360,6 @@ class Trainer(object):
server.
"""
# time.sleep(0.1)
self.send('(look)')
partial = ['ok','look']
self._numPlayers = 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment