Skip to content

Commit

Permalink
Set teamCodexCount to 0 in non-PC4 games.
Browse files Browse the repository at this point in the history
  • Loading branch information
sei-jvessella committed Mar 6, 2024
1 parent aa206da commit f61360d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gamebrain/gamedata/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -1827,6 +1827,10 @@ async def get_team_data(cls, team_id: TeamID | None) -> GameDataResponse | None:
else:
cls._spam_reduction_tracker += 1

# This value is not used in PC5.
if not team_data.ship.gamespaceData.isPC4Workspace:
team_data.session.teamCodexCount = 0

return full_team_data

@classmethod
Expand Down

0 comments on commit f61360d

Please sign in to comment.