From 40890f4e37ac3c8a8e1c443e179995365d8b1403 Mon Sep 17 00:00:00 2001 From: 127-Z3R0 <81heti1bif@hft-stuttgart.de> Date: Sun, 10 May 2020 20:57:40 +0200 Subject: [PATCH] forgot return type in func getVolume --- GoldWars/GoldWars/SoundManager.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GoldWars/GoldWars/SoundManager.swift b/GoldWars/GoldWars/SoundManager.swift index a9cad63..9d5dd94 100644 --- a/GoldWars/GoldWars/SoundManager.swift +++ b/GoldWars/GoldWars/SoundManager.swift @@ -39,7 +39,7 @@ class SoundManager { audioPlayer.volume = volume } - static func getVolume() { + static func getVolume() -> Float { return audioPlayer.volume } }