Skip to content

Commit

Permalink
Showing 2 changed files with 14 additions and 0 deletions.
Binary file modified GameData/RP-0/Plugins/RP0.dll
Binary file not shown.
14 changes: 14 additions & 0 deletions Source/Crew/CrewHandler.cs
Original file line number Diff line number Diff line change
@@ -415,6 +415,20 @@ public void Update()
if (cli.GetCrewRef().inactive)
{
cli.MouseoverEnabled = false;
bool notTraining = true;
for (int i = ActiveCourses.Count; i-- > 0 && notTraining;)
{
foreach (ProtoCrewMember pcm in ActiveCourses[i].Students)
{
if (pcm == cli.GetCrewRef())
{
notTraining = false;
cli.SetLabel("Training, done " + KSPUtil.PrintDate(ActiveCourses[i].startTime + ActiveCourses[i].GetTime(ActiveCourses[i].Students), false));
break;
}
}
}
if(notTraining)
cli.SetLabel("Recovering");
}
}

0 comments on commit eb90b3b

Please sign in to comment.