Skip to content

Commit

Permalink
[Player] only parse non-empty hash
Browse files Browse the repository at this point in the history
  • Loading branch information
gastank committed Aug 28, 2024
1 parent b526f7a commit 7324dfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/player/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2919,7 +2919,7 @@ void player_t::init_talents()
{
enable_default_talents( this );
}
else
else if ( !talents_str.empty() )
{
parse_traits_hash( talents_str, this );
}
Expand Down

0 comments on commit 7324dfe

Please sign in to comment.