whoops
This commit is contained in:
@@ -288,7 +288,7 @@ namespace Barotrauma
|
|||||||
if (TalentTree.IsViableTalentForCharacter(this, prefab.Identifier, talentSelection))
|
if (TalentTree.IsViableTalentForCharacter(this, prefab.Identifier, talentSelection))
|
||||||
{
|
{
|
||||||
bool? should = GameMain.LuaCs.Hook.Call<bool>("character.updateTalent", this, prefab, c);
|
bool? should = GameMain.LuaCs.Hook.Call<bool>("character.updateTalent", this, prefab, c);
|
||||||
if (should != null)
|
if (should == null)
|
||||||
{
|
{
|
||||||
GiveTalent(prefab.Identifier);
|
GiveTalent(prefab.Identifier);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user