Réglage du problème de crash #40

Merged
CoCo_Sol merged 1 commit from fix-sound-crash into main 2023-10-29 20:34:07 +00:00

View file

@ -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)