Always return matching state to keep players out of looping back to matching screen (#6)

Reviewed-on: Dniel97/artemis#6
Co-authored-by: UncleJim <unclejim@noreply.gitea.tendokyu.moe>
Co-committed-by: UncleJim <unclejim@noreply.gitea.tendokyu.moe>
This commit is contained in:
UncleJim 2023-10-26 10:21:01 +00:00 committed by Dniel97
parent b5e3bf6f80
commit 4fc4d98a74

View File

@ -55,7 +55,7 @@ class IDACMatching(resource.Resource):
"host": self.game_config.server.matching_host, "host": self.game_config.server.matching_host,
"port": self.game_config.server.matching_p2p, "port": self.game_config.server.matching_p2p,
"room_name": "INDTA", "room_name": "INDTA",
"state": self.get_matching_state(), "state": 1,
} }
self.logger.debug(f"Response {resp}") self.logger.debug(f"Response {resp}")