diff --git a/.gitignore b/.gitignore
index 9491a2f..144be71 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+./sts2_src
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
diff --git a/SlayTheSpire2.LAN.Multiplayer/Components/CopiedLabel.cs b/SlayTheSpire2.LAN.Multiplayer/Components/CopiedLabel.cs
index e1fd982..7d3a861 100644
--- a/SlayTheSpire2.LAN.Multiplayer/Components/CopiedLabel.cs
+++ b/SlayTheSpire2.LAN.Multiplayer/Components/CopiedLabel.cs
@@ -64,7 +64,7 @@ namespace SlayTheSpire2.LAN.Multiplayer.Components
{
var locString = new LocString("main_menu_ui", LocKeyPrefix);
SetTextAutoSize(locString.GetFormattedText());
- this.ApplyLocaleFontSubstitution(FontType.Regular, ThemeConstants.Label.font);
+ this.ApplyLocaleFontSubstitution(FontType.Regular, ThemeConstants.Label.Font);
}
}
}
\ No newline at end of file
diff --git a/SlayTheSpire2.LAN.Multiplayer/Components/IPAddressLabel.cs b/SlayTheSpire2.LAN.Multiplayer/Components/IPAddressLabel.cs
index 0a922ae..67be3ca 100644
--- a/SlayTheSpire2.LAN.Multiplayer/Components/IPAddressLabel.cs
+++ b/SlayTheSpire2.LAN.Multiplayer/Components/IPAddressLabel.cs
@@ -48,7 +48,7 @@ namespace SlayTheSpire2.LAN.Multiplayer.Components
{
var locString = new LocString("main_menu_ui", _locKeyPrefix);
SetTextAutoSize(locString.GetFormattedText());
- this.ApplyLocaleFontSubstitution(FontType.Regular, ThemeConstants.Label.font);
+ this.ApplyLocaleFontSubstitution(FontType.Regular, ThemeConstants.Label.Font);
}
}
}
diff --git a/SlayTheSpire2.LAN.Multiplayer/Models/LanPlayerNameRequestMessage.cs b/SlayTheSpire2.LAN.Multiplayer/Models/LanPlayerNameRequestMessage.cs
index 86ad7c0..2b0b6b3 100644
--- a/SlayTheSpire2.LAN.Multiplayer/Models/LanPlayerNameRequestMessage.cs
+++ b/SlayTheSpire2.LAN.Multiplayer/Models/LanPlayerNameRequestMessage.cs
@@ -9,6 +9,7 @@ namespace SlayTheSpire2.LAN.Multiplayer.Models
public string playerName;
public bool ShouldBroadcast => false;
+ public bool ShouldBuffer => false;
public NetTransferMode Mode => NetTransferMode.Reliable;
public LogLevel LogLevel => LogLevel.Info;
diff --git a/SlayTheSpire2.LAN.Multiplayer/Models/LanPlayerNameResponseMessage.cs b/SlayTheSpire2.LAN.Multiplayer/Models/LanPlayerNameResponseMessage.cs
index bce1c63..8c7cd62 100644
--- a/SlayTheSpire2.LAN.Multiplayer/Models/LanPlayerNameResponseMessage.cs
+++ b/SlayTheSpire2.LAN.Multiplayer/Models/LanPlayerNameResponseMessage.cs
@@ -10,6 +10,7 @@ namespace SlayTheSpire2.LAN.Multiplayer.Models
public PlayerNames playerNames;
public bool ShouldBroadcast => false;
+ public bool ShouldBuffer => false;
public NetTransferMode Mode => NetTransferMode.Reliable;
public LogLevel LogLevel => LogLevel.Info;
diff --git a/SlayTheSpire2.LAN.Multiplayer/Patchs/RunSaveManagerPatch.cs b/SlayTheSpire2.LAN.Multiplayer/Patchs/RunSaveManagerPatch.cs
index e3d0eb3..b806cdc 100644
--- a/SlayTheSpire2.LAN.Multiplayer/Patchs/RunSaveManagerPatch.cs
+++ b/SlayTheSpire2.LAN.Multiplayer/Patchs/RunSaveManagerPatch.cs
@@ -15,7 +15,7 @@ using SlayTheSpire2.LAN.Multiplayer.Services;
namespace SlayTheSpire2.LAN.Multiplayer.Patchs
{
- [HarmonyPatch(typeof(RunSaveManager), "SaveRun")]
+ [HarmonyPatch(typeof(RunSaveManager), "SaveRun", new[] { typeof(AbstractRoom) })]
internal class RunSaveManagerSaveRunPatch
{
private static bool Prefix(RunSaveManager __instance, AbstractRoom? preFinishedRoom, bool ____forceSynchronous,
diff --git a/SlayTheSpire2.LAN.Multiplayer/SlayTheSpire2.LAN.Multiplayer.csproj b/SlayTheSpire2.LAN.Multiplayer/SlayTheSpire2.LAN.Multiplayer.csproj
index ac3314f..03051b4 100644
--- a/SlayTheSpire2.LAN.Multiplayer/SlayTheSpire2.LAN.Multiplayer.csproj
+++ b/SlayTheSpire2.LAN.Multiplayer/SlayTheSpire2.LAN.Multiplayer.csproj
@@ -6,6 +6,7 @@
enable
1.6.3.0
1.6.3.0
+ $(MSBuildProjectDirectory)
@@ -14,16 +15,16 @@
- V:\SteamLibrary\steamapps\common\Slay the Spire 2\data_sts2_windows_x86_64\0Harmony.dll
+ $(HOME)/.steam/steam/steamapps/common/Slay the Spire 2/data_sts2_linuxbsd_x86_64/0Harmony.dll
- V:\SteamLibrary\steamapps\common\Slay the Spire 2\data_sts2_windows_x86_64\GodotSharp.dll
+ $(HOME)/.steam/steam/steamapps/common/Slay the Spire 2/data_sts2_linuxbsd_x86_64/GodotSharp.dll
- V:\SteamLibrary\steamapps\common\Slay the Spire 2\data_sts2_windows_x86_64\Steamworks.NET.dll
+ $(HOME)/.steam/steam/steamapps/common/Slay the Spire 2/data_sts2_linuxbsd_x86_64/Steamworks.NET.dll
- V:\SteamLibrary\steamapps\common\Slay the Spire 2\data_sts2_windows_x86_64\sts2.dll
+ $(HOME)/.steam/steam/steamapps/common/Slay the Spire 2/data_sts2_linuxbsd_x86_64/sts2.dll