Skip to content

Commit

Permalink
Changed console_enabled to disable_console (args).
Browse files Browse the repository at this point in the history
  • Loading branch information
mihahauke committed Aug 13, 2017
1 parent 8e83300 commit 384e73e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions host/host.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
parser.add_argument('-li', '--log-interval', metavar="LOG_INTERVAL", dest='log_interval',
default=None, type=float,
help='results logging inreval in minutes')
parser.add_argument('-c', '--console', dest='console_enabled', action='store_const',
default=True, const=True,
help='enable console')
parser.add_argument('-dc', '--console', dest='disable_console', action='store_true',
default=False,
help='disables console output')
parser.add_argument('-w', '--watch', dest='watch', action='store_const',
default=False, const=True,
help='roam the map as a ghost spectator')
Expand All @@ -46,7 +46,7 @@
players_num = args.players_num
bots_num = args.bots_num
map = "map0" + str(args.map)
console_enabled = args.console_enabled
console_enabled = not args.disable_console
timelimit = args.timelimit
watch = args.watch
record_file = args.recordfile
Expand Down

0 comments on commit 384e73e

Please sign in to comment.