hook merge + hook wrappers
This commit is contained in:
+1
-1
@@ -80,7 +80,7 @@ namespace Barotrauma
|
||||
|
||||
public void AddObjective<T>(T objective) where T : AIObjective
|
||||
{
|
||||
var result = new LuaResult(GameMain.LuaCs.hook.Call("AI.AddObjective", this, objective));
|
||||
var result = new LuaResult(GameMain.LuaCs.HookBase.Call("AI.AddObjective", this, objective));
|
||||
|
||||
if (result.Bool()) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user