Skip to content

Commit fb93193

Browse files
committed
go back to previous unitsync engine + try to not crash server when unitsync breaks
1 parent 3d14ce8 commit fb93193

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

AutoRegistrator/Unitsyncer.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using System.Diagnostics;
44
using System.IO;
55
using System.Linq;
6+
using System.Runtime.ExceptionServices;
67
using MonoTorrent.Common;
78
using PlasmaShared;
89
using ZkData;
@@ -87,6 +88,7 @@ public List<ScanResult> Scan()
8788
}
8889

8990

91+
[HandleProcessCorruptedStateExceptions]
9092
private static ResourceInfo Register(UnitSync unitsync, ResourceInfo resource)
9193
{
9294
Trace.TraceInformation("UnitSyncer: registering {0}", resource.Name);

Shared/PlasmaShared/GlobalConst.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ public static void OverrideContentServiceClient(IContentServiceClient client)
266266
}
267267

268268

269-
public static string UnitSyncEngine = "105.1.1-1485-g78f9a2c";
269+
public static string UnitSyncEngine = "unitsync";
270270

271271
public static int SteamContributionJarID = 2;
272272
public static Dictionary<ulong, int> DlcToKudos = new Dictionary<ulong, int>() { { 842950, 100 }, { 842951, 250 }, { 842952, 500 } };

0 commit comments

Comments
 (0)