From 7d36a0133001f016b897f6bf45d0354c57e9f624 Mon Sep 17 00:00:00 2001 From: Chris Yeninas <844685+PhantomGamers@users.noreply.github.com> Date: Tue, 28 Dec 2021 15:04:32 -0500 Subject: [PATCH 1/2] fix client research removal Co-Authored-By: starfi5h <50672801+starfi5h@users.noreply.github.com> --- NebulaPatcher/Patches/Dynamic/GameHistoryData_Patch.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/NebulaPatcher/Patches/Dynamic/GameHistoryData_Patch.cs b/NebulaPatcher/Patches/Dynamic/GameHistoryData_Patch.cs index 98552ff59..b059aa264 100644 --- a/NebulaPatcher/Patches/Dynamic/GameHistoryData_Patch.cs +++ b/NebulaPatcher/Patches/Dynamic/GameHistoryData_Patch.cs @@ -148,5 +148,12 @@ public static bool UnlockTech_Prefix() //Wait for the authoritative packet for unlocking tech features in multiplayer for clients return !Multiplayer.IsActive || Multiplayer.Session.LocalPlayer.IsHost || Multiplayer.Session.History.IsIncomingRequest; } + + [HarmonyPrefix] + [HarmonyPatch(nameof(GameHistoryData.RemoveTechInQueue))] + public static void RemoveTechInQueue_Prefix(int index, out int __state) + { + __state = GameMain.history.techQueue[index]; + } } } \ No newline at end of file From 5f900f98e3f85523466ca650859b0c418513cdbe Mon Sep 17 00:00:00 2001 From: Chris Yeninas <844685+PhantomGamers@users.noreply.github.com> Date: Tue, 28 Dec 2021 15:06:06 -0500 Subject: [PATCH 2/2] 0.7.7 bump Co-Authored-By: starfi5h <50672801+starfi5h@users.noreply.github.com> --- CHANGELOG.md | 4 ++++ version.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6de39c7fd..1b4d6df38 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## Changelog +0.7.7: + +- @starfi5h, @PhantomGamers: Fixed issue where research removed by clients would not be synced. + 0.7.6: - @starfi5h: Added syncing of ray receiver output diff --git a/version.json b/version.json index 12508e25a..3b919d156 100644 --- a/version.json +++ b/version.json @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "0.7.6", + "version": "0.7.7", "assemblyVersion": { "precision": "build" },