This commit is contained in:
Evil Factory
2022-06-22 19:54:31 -03:00
parent 9fec4e378f
commit 814870d80c

View File

@@ -288,7 +288,7 @@ namespace Barotrauma
if (TalentTree.IsViableTalentForCharacter(this, prefab.Identifier, talentSelection))
{
bool? should = GameMain.LuaCs.Hook.Call<bool>("character.updateTalent", this, prefab, c);
if (should != null)
if (should == null)
{
GiveTalent(prefab.Identifier);
}