fix itemThink

This commit is contained in:
Evil Factory
2021-09-27 15:28:12 -03:00
parent ffcf220f1f
commit 2387c6c2c7
2 changed files with 2 additions and 6 deletions
@@ -1564,6 +1564,8 @@ namespace Barotrauma
aiTarget?.Update(deltaTime);
GameMain.Lua.hook.Call("itemThink." + prefab.Identifier, new object[] { this });
if (!isActive) { return; }
ApplyStatusEffects(ActionType.Always, deltaTime, character: (parentInventory as CharacterInventory)?.Owner as Character);