Converting everything into Harmony patches part 1

This commit is contained in:
Evil Factory
2026-02-09 21:54:44 -03:00
parent d14c353115
commit fb4648d759
14 changed files with 236 additions and 68 deletions
@@ -114,6 +114,8 @@ namespace Barotrauma
GameScreen = new GameScreen();
MainThread = Thread.CurrentThread;
LuaCs.GetType();
}
public void Init()
@@ -364,9 +366,6 @@ namespace Barotrauma
TaskPool.Update();
CoroutineManager.Update(paused: false, (float)Timing.Step);
LuaCs.EventService.PublishEvent<IEventUpdate>(sub => sub.OnUpdate(Timing.Step));
LuaCs.Logger.ProcessLogs();
performanceCounterTimer.Stop();
if (GameMain.LuaCs.PerformanceCounter.EnablePerformanceCounter)
{