Fixed error in partially correct references

This commit is contained in:
Kyler Olsen 2025-04-24 23:23:18 -06:00
parent f6888d6337
commit 2f710acba0
1 changed files with 2 additions and 0 deletions

View File

@ -90,6 +90,8 @@ class Game:
for player_url, current_url in zip(url.strip('/').split('/'), self.__current_url_parts):
if player_url == current_url:
partially_correct.append(current_url)
else:
break
if partially_correct:
player.guess_partial_correct(f"/{'/'.join(partially_correct)}")
self.__round_points[self.__clients.index(player)] = len(partially_correct)