fix: address issue with nonplaying sound and delay

This commit is contained in:
2021-06-10 20:09:05 +00:00
parent f57e4de0e5
commit b7e0737682
3 changed files with 4 additions and 2 deletions

View File

@@ -76,7 +76,7 @@ class Piece(Entity):
# TODO should be private
def play_piece_set_sound(self) -> None:
piece_set_sound_file = ConfigurationManager.configuration["sound"]["rpiece-set"]
piece_set_sound_file = ConfigurationManager.configuration["sound"]["piece-set"]
self.piece_set_sound.play(mixer.Sound(piece_set_sound_file))
def __get_points(self, shape: Tuple, position: Tuple) -> List: