diff options
author | 2021-02-08 14:05:25 +0300 | |
---|---|---|
committer | 2021-02-08 14:05:25 +0300 | |
commit | b0169f28f8f6f27d80bdc81e4f186431391560e4 (patch) | |
tree | b92236b8fba11020de69e9c13a570c14cfb1ed46 /bot/exts/evergreen/battleship.py | |
parent | Default redis host in docker-compose (diff) | |
parent | Merge pull request #580 from Shivansh-007/fix/cht.sh (diff) |
Merge branch 'master' into docker-compse-env-file
Diffstat (limited to 'bot/exts/evergreen/battleship.py')
-rw-r--r-- | bot/exts/evergreen/battleship.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/evergreen/battleship.py b/bot/exts/evergreen/battleship.py index 9bc374e6..fa3fb35c 100644 --- a/bot/exts/evergreen/battleship.py +++ b/bot/exts/evergreen/battleship.py @@ -140,7 +140,7 @@ class Game: @staticmethod def get_square(grid: Grid, square: str) -> Square: """Grabs a square from a grid with an inputted key.""" - index = ord(square[0]) - ord("A") + index = ord(square[0].upper()) - ord("A") number = int(square[1:]) return grid[number-1][index] # -1 since lists are indexed from 0 |