Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions Source/Client/Patches/Odyssey.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,19 @@ public static int WaterBodyHash(WaterBody body)
}


// Suppress auto-popup of Dialog_NamePlayerGravship in MP.
// Manual rename via inspect tab (IRenameable) is already synced by SyncMethods.
[HarmonyPatch(typeof(Building_GravEngine), nameof(Building_GravEngine.UpdateSubstructureIfNeeded))]
public static class SuppressGravshipNamingDialog
{
static void Prefix(ref bool ___haveShownNameDialog)
{
if (Multiplayer.Client == null) return;

___haveShownNameDialog = true;
}
}

[HarmonyPatch(typeof(CompStatue), nameof(CompStatue.InitFakePawn))]
public static class PatchInitFakePawnToNotSyncPawnName
{
Expand Down
Loading