Skip to content

Commit 8309256

Browse files
committed
Fixed stupid bug in contract hint.
1 parent a80dbe0 commit 8309256

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

0 Bytes
Binary file not shown.

KourageousTourists/KourageousTourists/Contracts/KourageousContract.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,16 +119,16 @@ protected static string trainingHint(string body) {
119119
string hint = "Please note, tourists should be trained at least to level {0} to be able to disembark the" +
120120
" vessel landed on {1}. Training usually could be performed by {2}";
121121
string[] trainings = {
122-
"the orbital flight and successful recovery",
123-
"visiting Mun or Minmus and following safe recovery"
122+
"the orbital flight and successful recovery.",
123+
"visiting Mun or Minmus and following safe recovery."
124124
};
125125
int requiredLevel = 0;
126126
if (body.Equals ("Mun") || body.Equals ("Minmus"))
127127
requiredLevel = 1;
128128
else
129129
requiredLevel = 2;
130130

131-
return String.Format (hint, requiredLevel, body, trainings [requiredLevel + 1]);
131+
return String.Format (hint, requiredLevel, body, trainings [requiredLevel - 1]);
132132
}
133133
}
134134
}

0 commit comments

Comments
 (0)