mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
hotfix for audio
This commit is contained in:
parent
f2194d59b3
commit
9ca79478ce
@ -89,13 +89,13 @@ namespace NewHorizons.Utility
|
||||
|
||||
switch (extension)
|
||||
{
|
||||
case ("wav"):
|
||||
case (".wav"):
|
||||
audioType = UnityEngine.AudioType.WAV;
|
||||
break;
|
||||
case ("ogg"):
|
||||
case (".ogg"):
|
||||
audioType = UnityEngine.AudioType.OGGVORBIS;
|
||||
break;
|
||||
case ("mp3"):
|
||||
case (".mp3"):
|
||||
audioType = UnityEngine.AudioType.MPEG;
|
||||
break;
|
||||
default:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user