Fixed OnUpdate() not passing in deltaTime instead of totalTime.
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ internal class HarmonyEventPatchesService : ISystem
|
|||||||
[HarmonyPatch(typeof(CoroutineManager), nameof(CoroutineManager.Update)), HarmonyPostfix]
|
[HarmonyPatch(typeof(CoroutineManager), nameof(CoroutineManager.Update)), HarmonyPostfix]
|
||||||
public static void CoroutineManager_Update_Post()
|
public static void CoroutineManager_Update_Post()
|
||||||
{
|
{
|
||||||
_eventService.PublishEvent<IEventUpdate>(x => x.OnUpdate(Timing.TotalTime));
|
_eventService.PublishEvent<IEventUpdate>(x => x.OnUpdate(CoroutineManager.DeltaTime));
|
||||||
_loggerService.ProcessLogs();
|
_loggerService.ProcessLogs();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user