(5a377a8ee) Unstable v0.9.1000.0
This commit is contained in:
@@ -80,8 +80,8 @@ namespace Barotrauma
|
||||
|
||||
public float GetSkillLevel(string skillIdentifier)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(skillIdentifier)) { return 0.0f; }
|
||||
skills.TryGetValue(skillIdentifier, out Skill skill);
|
||||
|
||||
return (skill == null) ? 0.0f : skill.Level;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user