Skip to content

Commit

Permalink
Fix vessel edit progress issues.
Browse files Browse the repository at this point in the history
Closes #2357
  • Loading branch information
siimav committed May 5, 2024
1 parent 0ab0384 commit 49077ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/RP0/Utilities/KCTUtilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -491,8 +491,8 @@ private static void SaveShipEdits(double oldCost, VesselProject editableShip, Ve

GetShipEditProgress(editableShip, out double progressBP, out _, out _);
newShip.progress = progressBP;
RP0Debug.Log($"Finished? {editableShip.IsFinished}");
if (editableShip.IsFinished)
RP0Debug.Log($"Finished? {newShip.IsFinished}");
if (newShip.IsFinished)
{
newShip.MoveVesselToWarehouse();
}
Expand Down

0 comments on commit 49077ca

Please sign in to comment.