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
@@ -1440,11 +1440,11 @@ namespace Barotrauma
// -> the character should be revived if there are no major afflictions in addition to lack of oxygen
target.Oxygen = Math.Max(target.Oxygen + 10.0f, 10.0f);
GameMain.LuaCs.hook.Call("human.CPRSuccess", this);
GameMain.LuaCs.HookBase.Call("human.CPRSuccess", this);
}
else
{
GameMain.LuaCs.hook.Call("human.CPRFailed", this);
GameMain.LuaCs.HookBase.Call("human.CPRFailed", this);
}
}
}