diff --git a/Barotrauma/BarotraumaShared/SharedSource/LuaCs/_Services/HarmonyEventPatchesService.cs b/Barotrauma/BarotraumaShared/SharedSource/LuaCs/_Services/HarmonyEventPatchesService.cs index 888e74d8b..fe54d9096 100644 --- a/Barotrauma/BarotraumaShared/SharedSource/LuaCs/_Services/HarmonyEventPatchesService.cs +++ b/Barotrauma/BarotraumaShared/SharedSource/LuaCs/_Services/HarmonyEventPatchesService.cs @@ -53,7 +53,7 @@ internal class HarmonyEventPatchesService : ISystem [HarmonyPatch(typeof(CoroutineManager), nameof(CoroutineManager.Update)), HarmonyPostfix] public static void CoroutineManager_Update_Post() { - _eventService.PublishEvent(x => x.OnUpdate(Timing.TotalTime)); + _eventService.PublishEvent(x => x.OnUpdate(CoroutineManager.DeltaTime)); _loggerService.ProcessLogs(); }