From 814870d80cc3884c555532807b5e3d25ed9aa95e Mon Sep 17 00:00:00 2001 From: Evil Factory <36804725+evilfactory@users.noreply.github.com> Date: Wed, 22 Jun 2022 19:54:31 -0300 Subject: [PATCH] whoops --- .../ServerSource/Characters/CharacterNetworking.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Barotrauma/BarotraumaServer/ServerSource/Characters/CharacterNetworking.cs b/Barotrauma/BarotraumaServer/ServerSource/Characters/CharacterNetworking.cs index f16304d1e..b7e2a9f57 100644 --- a/Barotrauma/BarotraumaServer/ServerSource/Characters/CharacterNetworking.cs +++ b/Barotrauma/BarotraumaServer/ServerSource/Characters/CharacterNetworking.cs @@ -288,7 +288,7 @@ namespace Barotrauma if (TalentTree.IsViableTalentForCharacter(this, prefab.Identifier, talentSelection)) { bool? should = GameMain.LuaCs.Hook.Call("character.updateTalent", this, prefab, c); - if (should != null) + if (should == null) { GiveTalent(prefab.Identifier); }