Skip to content
Open
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
10 changes: 7 additions & 3 deletions Source/Client/Patches/GravshipTravelSessionPatches.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
using System;
using System.Collections.Generic;
using System.Reflection;
using HarmonyLib;
using Multiplayer.API;
using Multiplayer.Client.Persistent;
using Multiplayer.Client.Util;
using RimWorld;
using RimWorld.Planet;
using System;
using System.Collections.Generic;
using System.Reflection;
using Verse;
using Verse.Sound;

Expand Down Expand Up @@ -214,6 +214,10 @@ static void Prefix(WorldComponent_GravshipController __instance)

GravshipTravelUtils.StopFreeze();
GravshipTravelUtils.CloseSessionAt(__instance.gravship.destinationTile);

// LandingEnded calls Find.TickManager.CurTimeSpeed = TimeSpeed.Normal, but that doesn't work in MP as we
// have our own way of changing the map speed.
__instance.map.AsyncTime().SetDesiredTimeSpeed(TimeSpeed.Normal);
}

static void Finalizer()
Expand Down
Loading