Réglage du problème de crash

This commit is contained in:
Tipragot 2023-10-29 21:33:16 +01:00
parent ee2e9ef9ae
commit b93a415779

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)