Merge branch 'master' of https://github.com/Regalis11/Barotrauma into develop
This commit is contained in:
@@ -306,7 +306,7 @@ namespace Barotrauma
|
||||
{
|
||||
onLoadFail?.Invoke(
|
||||
fileListPath,
|
||||
result.TryUnwrapFailure(out var exception) ? exception : throw new Exception("unreachable"));
|
||||
result.TryUnwrapFailure(out var exception) ? exception : throw new UnreachableCodeException());
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -497,7 +497,7 @@ namespace Barotrauma
|
||||
List<RegularPackage> enabledRegularPackages = new List<RegularPackage>();
|
||||
|
||||
#if CLIENT
|
||||
TaskPool.Add("EnqueueWorkshopUpdates", EnqueueWorkshopUpdates(), t => { });
|
||||
TaskPool.AddWithResult("EnqueueWorkshopUpdates", EnqueueWorkshopUpdates(), t => { });
|
||||
#else
|
||||
#warning TODO: implement Workshop updates for servers at some point
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user