From dd9d91eab8ad04391a081a86fe8c189e6e4a50ba Mon Sep 17 00:00:00 2001 From: Marcel Schwarz Date: Thu, 25 Jun 2020 16:41:27 +0200 Subject: [PATCH] Fix missing os import and log init --- GoldWars/GoldWars/SoundManager.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/GoldWars/GoldWars/SoundManager.swift b/GoldWars/GoldWars/SoundManager.swift index c573150..9e3f659 100644 --- a/GoldWars/GoldWars/SoundManager.swift +++ b/GoldWars/GoldWars/SoundManager.swift @@ -8,9 +8,11 @@ import SpriteKit import AVFoundation +import os class SoundManager { public static var sharedInstance = SoundManager() + let LOG = OSLog.init(subsystem: "SoundManager", category: "SoundManager") var audioPlayer = AVAudioPlayer() var backgroundMainMenuAudio: URL?