(44a496915) Added: Template for using a video with the Welcome text in the tutorial if needed. Removed: Old spritesheets. Fixed: Bug in fetching crew with certain jobs

This commit is contained in:
Joonas Rikkonen
2019-04-03 16:21:57 +03:00
parent 8de2eccff2
commit 0dd1823eb1
45 changed files with 554 additions and 754 deletions
@@ -624,9 +624,10 @@ namespace Barotrauma.Tutorials
private Character CrewMemberWithJob(string job)
{
job = job.ToLowerInvariant();
for (int i = 0; i < crew.Count; i++)
{
if (crew[i].Info.Job.Name == job) return crew[i];
if (crew[i].Info.Job.Name.ToLowerInvariant() == job) return crew[i];
}
return null;