From 33efc519a370a0946c8a773e2004d4bc24b89bf2 Mon Sep 17 00:00:00 2001 From: Evil Factory <36804725+evilfactory@users.noreply.github.com> Date: Thu, 23 Jun 2022 19:48:08 -0300 Subject: [PATCH] fix talents not updating (forgor to make the type nullable) --- .../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 b7e2a9f57..fdf576dd3 100644 --- a/Barotrauma/BarotraumaServer/ServerSource/Characters/CharacterNetworking.cs +++ b/Barotrauma/BarotraumaServer/ServerSource/Characters/CharacterNetworking.cs @@ -287,7 +287,7 @@ namespace Barotrauma if (TalentTree.IsViableTalentForCharacter(this, prefab.Identifier, talentSelection)) { - bool? should = GameMain.LuaCs.Hook.Call("character.updateTalent", this, prefab, c); + bool? should = GameMain.LuaCs.Hook.Call("character.updateTalent", this, prefab, c); if (should == null) { GiveTalent(prefab.Identifier);