Skip to content

Commit af2d144

Browse files
Merge pull request #490 from hubastard/research-fix
2 parents b1e2225 + 5f900f9 commit af2d144

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## Changelog
22

3+
0.7.7:
4+
5+
- @starfi5h, @PhantomGamers: Fixed issue where research removed by clients would not be synced.
6+
37
0.7.6:
48

59
- @starfi5h: Added syncing of ray receiver output

NebulaPatcher/Patches/Dynamic/GameHistoryData_Patch.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,5 +148,12 @@ public static bool UnlockTech_Prefix()
148148
//Wait for the authoritative packet for unlocking tech features in multiplayer for clients
149149
return !Multiplayer.IsActive || Multiplayer.Session.LocalPlayer.IsHost || Multiplayer.Session.History.IsIncomingRequest;
150150
}
151+
152+
[HarmonyPrefix]
153+
[HarmonyPatch(nameof(GameHistoryData.RemoveTechInQueue))]
154+
public static void RemoveTechInQueue_Prefix(int index, out int __state)
155+
{
156+
__state = GameMain.history.techQueue[index];
157+
}
151158
}
152159
}

version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
3-
"version": "0.7.6",
3+
"version": "0.7.7",
44
"assemblyVersion": {
55
"precision": "build"
66
},

0 commit comments

Comments
 (0)