Merge pull request 'Réglage du problème de crash' (#40) from fix-sound-crash into main
Reviewed-on: #40
This commit is contained in:
commit
7cc33baf13
|
@ -760,7 +760,7 @@ def start_game(
|
|||
del channels[entity]
|
||||
|
||||
# Ajout des sons non gérés
|
||||
for entity in sound_entities:
|
||||
for entity in world.query(Sound):
|
||||
if entity not in channels:
|
||||
entity_sound = entity[Sound]
|
||||
sound = assets.get_sound(entity_sound.name)
|
||||
|
|
Loading…
Reference in a new issue