forked from Mirrors/openclonk
Sound system: Fix endless recursion when a sound couldn't be started due to lack of free channels
parent
f296f31c62
commit
6e953acc88
|
@ -286,6 +286,8 @@ bool C4SoundInstance::Start()
|
|||
#else
|
||||
return false;
|
||||
#endif
|
||||
// Safety: Don't execute if start failed, or Execute() would try to start again
|
||||
if (!isStarted()) return false;
|
||||
// Update volume
|
||||
Execute();
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue