Fix crashes on linux
@@ -170,7 +170,7 @@ class Proxy:
while self.result is None:
bot_alive = bot_process and bot_process.poll() is None
- sc2_alive = self.controller.running and self.controller._process._process.poll() is None
+ sc2_alive = self.controller.running
if self.done or not (bot_alive and sc2_alive):
logger.info(
f"Proxy({self.port}): {self.player.name} died, "
