Skip to content

Commit eff7d64

Browse files
authored
Fix bug in run.py
1 parent 4150c1f commit eff7d64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
sleep(5)
1717

18-
while match_manager.game_state != flat.GameStateType.Ended:
18+
while match_manager.packet is None or match_manager.packet.game_info.game_state_type != flat.GameStateType.Ended:
1919
sleep(0.1)
2020

2121
match_manager.shut_down()

0 commit comments

Comments
 (0)