Husk sounds & event, removing logfiles with cleanbuild command,

This commit is contained in:
Regalis
2016-02-14 22:50:34 +02:00
parent ef78f2d0f6
commit 35e2d441fc
14 changed files with 43 additions and 8 deletions

View File

@@ -583,7 +583,7 @@ namespace Barotrauma
public int GetSkillLevel(string skillName)
{
return Info.Job.GetSkillLevel(skillName);
return (Info==null || Info.Job==null) ? 0 : Info.Job.GetSkillLevel(skillName);
}
float findClosestTimer;