Skip to content

Commit

Permalink
Merge pull request #3778 from eggrobin/tickling
Browse files Browse the repository at this point in the history
Try harder to emit a message slightly more useful than "error 4"
  • Loading branch information
eggrobin authored Oct 13, 2023
2 parents 0478b52 + 7a7536c commit e48d38f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ksp_plugin_adapter/flight_planner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -700,18 +700,18 @@ private string GetStatusMessage() {
"#Principia_FlightPlan_StatusMessage_OutRange7")
: "",
first_error_manœuvre_.Value + 1);
} else if (status_.is_deadline_exceeded()) {
status_message =
L10N.CacheFormat(
"#Principia_FlightPlan_StatusMessage_DeadlineExceeded");
remedy_message =
L10N.CacheFormat("#Principia_FlightPlan_StatusMessage_Tickle");
} else {
status_message =
L10N.CacheFormat("#Principia_FlightPlan_StatusMessage_TooShort");
remedy_message =
L10N.CacheFormat("#Principia_FlightPlan_StatusMessage_Increase");
}
} else if (status_.is_deadline_exceeded()) {
status_message =
L10N.CacheFormat(
"#Principia_FlightPlan_StatusMessage_DeadlineExceeded");
remedy_message =
L10N.CacheFormat("#Principia_FlightPlan_StatusMessage_Tickle");
} else if (status_.is_unavailable()) {
status_message =
L10N.CacheFormat("#Principia_FlightPlan_StatusMessage_CantRebase");
Expand Down

0 comments on commit e48d38f

Please sign in to comment.