fix: address issue with nonplaying sound and delay
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user