Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #218 from mikebryant/wip-209
Browse files Browse the repository at this point in the history
Use a different set of ports per game
  • Loading branch information
mikebryant authored Aug 9, 2017
2 parents b51ea4f + 1b0d87c commit 5649264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aimmo-game/simulation/worker_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ class LocalWorkerManager(WorkerManager):

def __init__(self, *args, **kwargs):
self.workers = {}
self.port_counter = itertools.count(1989)
self.port_counter = itertools.count(self.port + 10)
super(LocalWorkerManager, self).__init__(*args, **kwargs)

def create_worker(self, player_id):
Expand Down

0 comments on commit 5649264

Please sign in to comment.