Update version

This commit is contained in:
kmyuhkyuk
2026-03-27 23:32:31 +08:00
parent a2b2351398
commit 32b55c42be
2 changed files with 7 additions and 4 deletions
@@ -9,6 +9,9 @@ using MegaCrit.Sts2.Core.Runs;
using MegaCrit.Sts2.Core.Saves.Runs; using MegaCrit.Sts2.Core.Saves.Runs;
using Logger = MegaCrit.Sts2.Core.Logging.Logger; using Logger = MegaCrit.Sts2.Core.Logging.Logger;
// ReSharper disable UnusedMember.Global
// ReSharper disable UnusedType.Global
namespace SlayTheSpire2.LAN.Multiplayer.Patchs namespace SlayTheSpire2.LAN.Multiplayer.Patchs
{ {
[HarmonyPatch(typeof(CombatStateSynchronizer), "WaitForSync")] [HarmonyPatch(typeof(CombatStateSynchronizer), "WaitForSync")]
@@ -52,7 +55,7 @@ namespace SlayTheSpire2.LAN.Multiplayer.Patchs
{ {
if ((DateTime.Now - startTime).TotalSeconds > timeoutSeconds) if ((DateTime.Now - startTime).TotalSeconds > timeoutSeconds)
{ {
logger.Warn("Sync timeout, skipping waiting for players"); logger.Warn("Receive all sync messages timeout, skip waiting for all clients");
break; break;
} }
@@ -60,7 +63,7 @@ namespace SlayTheSpire2.LAN.Multiplayer.Patchs
(DateTime.Now - lastResendTick).TotalSeconds > resendIntervalSeconds && rngSet != null && (DateTime.Now - lastResendTick).TotalSeconds > resendIntervalSeconds && rngSet != null &&
sharedRelicGrabBag != null) sharedRelicGrabBag != null)
{ {
logger.Debug("Resending rng sync message"); logger.Debug("Resend rng sync message");
var message = new SyncRngMessage var message = new SyncRngMessage
{ {
@@ -4,8 +4,8 @@
<TargetFramework>net9.0</TargetFramework> <TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<AssemblyVersion>1.6.1.0</AssemblyVersion> <AssemblyVersion>1.6.2.0</AssemblyVersion>
<FileVersion>1.6.1.0</FileVersion> <FileVersion>1.6.2.0</FileVersion>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>