diff --git a/PrepareRelease.bat b/PrepareRelease.bat index 6493232..86ad7e9 100644 --- a/PrepareRelease.bat +++ b/PrepareRelease.bat @@ -1,5 +1,5 @@ -set BUILT_VERSION=1.2.1 +set BUILT_VERSION=1.3.0 set MOD_NAME=SRVoting set RELEASE_BUILD_DIR=.\%MOD_NAME%\bin\Release diff --git a/SRVoting/Properties/AssemblyInfo.cs b/SRVoting/Properties/AssemblyInfo.cs index 864ec44..273a2b6 100644 --- a/SRVoting/Properties/AssemblyInfo.cs +++ b/SRVoting/Properties/AssemblyInfo.cs @@ -33,9 +33,9 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.2.1")] -[assembly: AssemblyFileVersion("1.2.1")] +[assembly: AssemblyVersion("1.3.0")] +[assembly: AssemblyFileVersion("1.3.0")] -[assembly: MelonInfo(typeof(SRVoting.SRVoting), "SRVoting", "1.2.1", "bookdude13", "https://github.com/bookdude13/SRVoting")] +[assembly: MelonInfo(typeof(SRVoting.SRVoting), "SRVoting", "1.3.0", "bookdude13", "https://github.com/bookdude13/SRVoting")] [assembly: MelonGame("Kluge Interactive", "SynthRiders")] diff --git a/SRVoting/SRVoting.cs b/SRVoting/SRVoting.cs index 70336f1..aa3b589 100644 --- a/SRVoting/SRVoting.cs +++ b/SRVoting/SRVoting.cs @@ -27,9 +27,9 @@ public class SRVoting : MelonMod private GameObject rootGameObjectMultiplayer = null; - public override void OnApplicationStart() + public override void OnInitializeMelon() { - base.OnApplicationStart(); + base.OnInitializeMelon(); logger = new MelonLoggerWrapper(LoggerInstance); Instance = this; diff --git a/SRVoting/SRVoting.csproj b/SRVoting/SRVoting.csproj index 0cacb60..a351d08 100644 --- a/SRVoting/SRVoting.csproj +++ b/SRVoting/SRVoting.csproj @@ -33,7 +33,7 @@ False - ..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\SynthRiders\MelonLoader\0Harmony.dll + ..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\SynthRiders\MelonLoader\net6\0Harmony.dll ..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\SynthRiders\SynthRiders_Data\Managed\Assembly-CSharp.dll @@ -42,8 +42,9 @@ False ..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\SynthRiders\SynthRiders_Data\Managed\Assembly-CSharp-firstpass.dll - - ..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\SynthRiders\MelonLoader\MelonLoader.dll + + False + ..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\SynthRiders\MelonLoader\net6\MelonLoader.dll False diff --git a/SRVoting/libs/SRModCore.dll b/SRVoting/libs/SRModCore.dll index a8bcbe2..9a42718 100644 Binary files a/SRVoting/libs/SRModCore.dll and b/SRVoting/libs/SRModCore.dll differ