forgot return type in func getVolume
This commit is contained in:
parent
3f56b033ba
commit
40890f4e37
@ -39,7 +39,7 @@ class SoundManager {
|
|||||||
audioPlayer.volume = volume
|
audioPlayer.volume = volume
|
||||||
}
|
}
|
||||||
|
|
||||||
static func getVolume() {
|
static func getVolume() -> Float {
|
||||||
return audioPlayer.volume
|
return audioPlayer.volume
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user