We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b4b404a + ea25684 commit 7ea51b4Copy full SHA for 7ea51b4
ksp_plugin_adapter/flight_planner.cs
@@ -818,7 +818,7 @@ private string GetStatusMessage() {
818
actual_final_time -
819
plugin.FlightPlanGetInitialTime(vessel_guid)))
820
: "";
821
- if (status_.is_aborted()) {
+ if (status_.is_aborted() || status_.is_resource_exhausted()) {
822
status_message = L10N.CacheFormat(
823
"#Principia_FlightPlan_StatusMessage_MaxSteps",
824
time_out_message);
ksp_plugin_adapter/interface.cs
@@ -29,6 +29,10 @@ public bool is_out_of_range() {
29
return error == 11;
30
}
31
32
+ public bool is_resource_exhausted() {
33
+ return error == 8;
34
+ }
35
+
36
public bool is_unavailable() {
37
return error == 14;
38
0 commit comments