Fixed OnUpdate() not passing in deltaTime instead of totalTime.

This commit is contained in:
Maplewheels
2026-04-18 22:10:28 -04:00
parent ab77e9d40c
commit f612112445

View File

@@ -53,7 +53,7 @@ internal class HarmonyEventPatchesService : ISystem
[HarmonyPatch(typeof(CoroutineManager), nameof(CoroutineManager.Update)), HarmonyPostfix]
public static void CoroutineManager_Update_Post()
{
_eventService.PublishEvent<IEventUpdate>(x => x.OnUpdate(Timing.TotalTime));
_eventService.PublishEvent<IEventUpdate>(x => x.OnUpdate(CoroutineManager.DeltaTime));
_loggerService.ProcessLogs();
}