Réglage du problème de crash
This commit is contained in:
parent
ee2e9ef9ae
commit
b93a415779
|
@ -760,7 +760,7 @@ def start_game(
|
||||||
del channels[entity]
|
del channels[entity]
|
||||||
|
|
||||||
# Ajout des sons non gérés
|
# Ajout des sons non gérés
|
||||||
for entity in sound_entities:
|
for entity in world.query(Sound):
|
||||||
if entity not in channels:
|
if entity not in channels:
|
||||||
entity_sound = entity[Sound]
|
entity_sound = entity[Sound]
|
||||||
sound = assets.get_sound(entity_sound.name)
|
sound = assets.get_sound(entity_sound.name)
|
||||||
|
|
Loading…
Reference in a new issue