Skip to content

Commit

Permalink
Just access game directly derp.
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePhar committed May 23, 2024
1 parent 0aba620 commit 9bdc0c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CommonClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def lookup_in_game(self, code: int, game_name: typing.Optional[str] = None) -> s
omitted.
"""
if game_name is None:
game_name = self.ctx.slot_info[self.ctx.slot].game
game_name = self.ctx.game

return self._game_store[game_name][code]

Expand Down

0 comments on commit 9bdc0c8

Please sign in to comment.