Skip to content

Commit

Permalink
Various changes
Browse files Browse the repository at this point in the history
  • Loading branch information
NiallEgan committed Aug 23, 2018
1 parent a228feb commit bb80246
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion aimmo-game/simulation/game_runner.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import time
import threading

WORKER_UPDATE_SLEEP_TIME = 5
WORKER_UPDATE_SLEEP_TIME = 10


class GameRunner(threading.Thread):
Expand Down
1 change: 0 additions & 1 deletion aimmo-game/tests/test_simulation/fake_game_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@


class FakeGameRunner(object):
""" TODO: This class probably will want to be deleted once GameRunner is complete. """
def __init__(self, settings=None, player_manager=None):
# Default argument is now immutable
if settings is None:
Expand Down
2 changes: 0 additions & 2 deletions aimmo-game/tests/test_simulation/test_game_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ def test_remove_avatars(self):
self.mock_communicator.data = RequestMock(3).value
self.game_runner.update()
del self.mock_communicator.data['main']['users'][1]
print('Modified data: {}'.format(self.mock_communicator.data['main']['users']))
print('Workers: {}'.format(self.game_runner.worker_manager.avatar_id_to_worker.keys()))
self.game_runner.update()

for i in range(3):
Expand Down

0 comments on commit bb80246

Please sign in to comment.