Skip to content

Commit

Permalink
Bump minimum game version to 13.1b
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasBottone committed Jan 11, 2024
1 parent 73dc88a commit 5bc0d0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions highscores/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,8 @@ def check_generic_game_settings(score_obj: Score, auto_or_teleop: str) -> Union[
""" Checks if the universal game settings are valid.
:return: None if the settings are valid, or a response with an error message if they are not.
"""
if (not score_obj.client_version or float(score_obj.client_version[1:5]) < 13.1):
# or score_obj.client_version == 'v13.1a'):
if (not score_obj.client_version or float(score_obj.client_version[1:5]) < 13.1
or score_obj.client_version == 'v13.1a'):
return WRONG_VERSION_MESSAGE
if "_p" in score_obj.client_version:
return PRERELEASE_MESSAGE
Expand Down

0 comments on commit 5bc0d0a

Please sign in to comment.