Update ap connection detection to only after the slot name is entered and you fully connect

This commit is contained in:
MarioSpore
2025-09-06 20:05:36 -04:00
parent e2def66522
commit 51aad167cc

View File

@@ -89,7 +89,7 @@ class GrinchClient(BizHawkClient):
async def game_watcher(self, ctx: "BizHawkClientContext") -> None: async def game_watcher(self, ctx: "BizHawkClientContext") -> None:
from CommonClient import logger from CommonClient import logger
#If the player is not connected to an AP Server, or their connection was disconnected. #If the player is not connected to an AP Server, or their connection was disconnected.
if ctx.server is None or ctx.server.socket.closed or ctx.slot_data is None: if not ctx.slot:
return return
try: try: