mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-27 15:29:36 -04:00
Failing to download a sound isn't a critical error, should hopefully address #421.
This commit is contained in:
parent
1df15cb617
commit
2a88a33379
@ -43,9 +43,9 @@ namespace Launcher.Patcher {
|
|||||||
Console.WriteLine("got sound " + identifiers[i]);
|
Console.WriteLine("got sound " + identifiers[i]);
|
||||||
if (item.Data == null) {
|
if (item.Data == null) {
|
||||||
setStatus("&cFailed to download " + identifiers[i]);
|
setStatus("&cFailed to download " + identifiers[i]);
|
||||||
return false;
|
} else {
|
||||||
|
DecodeSound(files[i].Substring(1), (byte[])item.Data);
|
||||||
}
|
}
|
||||||
DecodeSound(files[i].Substring(1), (byte[])item.Data);
|
|
||||||
|
|
||||||
// TODO: setStatus(next);
|
// TODO: setStatus(next);
|
||||||
if (i == identifiers.Length - 1) {
|
if (i == identifiers.Length - 1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user