Skip to content

Commit

Permalink
Pass the ipv6 flag if given an ipv6 ip address.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 195256764
  • Loading branch information
tewalds committed May 11, 2018
1 parent 7f5bdd8 commit 727bf64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pysc2/lib/sc_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ def __init__(self, run_config, exec_path, data_version=None,
"-dataDir", os.path.join(run_config.data_dir, ""),
"-tempDir", os.path.join(self._tmp_dir, ""),
]
if ":" in self._host:
args += ["-ipv6"]
if full_screen:
args += ["-displayMode", "1"]
else:
Expand Down

0 comments on commit 727bf64

Please sign in to comment.