fix: address issue with nonplaying sound and delay

This commit is contained in:
Giovani Rodriguez
2021-06-10 20:09:05 +00:00
parent 5cf73ceb7d
commit 231c19c7fd
3 changed files with 4 additions and 2 deletions

View File

@@ -38,6 +38,8 @@ class Stack(Entity):
if len(squares_to_exclude) == 0:
return 0
self.__play_row_completion_sound()
tile_size = ConfigurationManager.configuration["engine"]["tile-size"]
new_points = []
for square in self.points:
@@ -51,7 +53,6 @@ class Stack(Entity):
new_points.append(square)
self.points = new_points
self.__play_row_completion_sound()
return len(rows_completed)
def __play_row_completion_sound(self) -> None: