diff --git a/generals/remote/generalsio_client.py b/generals/remote/generalsio_client.py index 6fda70d..b3b6320 100644 --- a/generals/remote/generalsio_client.py +++ b/generals/remote/generalsio_client.py @@ -1,3 +1,5 @@ +import time + import numpy as np from socketio import SimpleClient # type: ignore @@ -97,6 +99,7 @@ def join_game(self, force_start: bool = True) -> None: """ self._status = "queue" while True: + time.sleep(2) # dont spam servers event, *data = self.receive() self.emit("set_force_start", (self.queue_id, force_start)) if event == "game_start":