hook merge + hook wrappers

This commit is contained in:
Oiltanker
2022-04-13 01:34:38 +03:00
parent 1e6ac68e86
commit 5d06df437e
40 changed files with 539 additions and 284 deletions
@@ -526,7 +526,7 @@ namespace Barotrauma
HintManager.OnRoundStarted();
GameMain.LuaCs.hook.Call("roundStart");
GameMain.LuaCs.HookBase.Call("roundStart");
#endif
}
@@ -781,7 +781,7 @@ namespace Barotrauma
RoundEnding = true;
#if CLIENT
GameMain.LuaCs.hook.Call("roundEnd");
GameMain.LuaCs.HookBase.Call("roundEnd");
#endif
//Clear the grids to allow for garbage collection
Powered.Grids.Clear();