Event pain

This commit is contained in:
Evil Factory
2026-02-15 17:58:25 -03:00
parent 13bfffa777
commit f70251fa3b
7 changed files with 294 additions and 39 deletions
@@ -103,10 +103,6 @@ namespace Barotrauma
public void AddObjective<T>(T objective) where T : AIObjective
{
var result = GameMain.LuaCs.Hook.Call<bool?>("AI.addObjective", this, objective);
if (result != null && result.Value) return;
if (objective == null)
{
#if DEBUG