mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
Update AudioCategory.cs
This commit is contained in:
@@ -32,11 +32,11 @@ namespace TEngine
|
||||
_bEnable = value;
|
||||
if (!_bEnable)
|
||||
{
|
||||
foreach (var audioData in AudioAgents)
|
||||
foreach (var audioAgent in AudioAgents)
|
||||
{
|
||||
if (audioData != null)
|
||||
if (audioAgent != null)
|
||||
{
|
||||
audioData.Stop();
|
||||
audioAgent.Stop();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user