Skip to content

Commit 9388bd5

Browse files
committed
[Bot] Automated dotnet-format update
1 parent 2a78f2c commit 9388bd5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

UOP1_Project/Assets/Scripts/Audio/AudioCue.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ private IEnumerator PlayDelayed()
3636

3737
//This additional check prevents the AudioCue from playing if the object is disabled or the scene unloaded
3838
//This prevents playing a looping AudioCue which then would be never stopped
39-
if(_playOnStart)
39+
if (_playOnStart)
4040
PlayAudioCue();
4141
}
4242

UOP1_Project/Assets/Scripts/Audio/AudioManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ private void OnSoundEmitterFinishedPlaying(SoundEmitter soundEmitter)
176176

177177
private void StopAndCleanEmitter(SoundEmitter soundEmitter)
178178
{
179-
if(!soundEmitter.IsLooping())
179+
if (!soundEmitter.IsLooping())
180180
soundEmitter.OnSoundFinishedPlaying -= OnSoundEmitterFinishedPlaying;
181181

182182
soundEmitter.Stop();

0 commit comments

Comments
 (0)