Skip to content

Commit

Permalink
replace underscores with periods during run-time-lookup of part names…
Browse files Browse the repository at this point in the history
…, as that is what KSP does internally for some infernal reason
  • Loading branch information
shadowmage45 committed Dec 18, 2016
1 parent a377cac commit 1a410d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file modified GameData/KSPRescuePodFix/KSPRescuePodFix.dll
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ private string getRandomRecoveyPod()
{
if (approvedPodTypes.Length <= 0) { return "landerCabinSmall"; }
int chosen = rng.Next(approvedPodTypes.Length);
return approvedPodTypes[chosen];
string rawValue = approvedPodTypes[chosen];
return rawValue.Replace('_', '.');
}

}
Expand Down

0 comments on commit 1a410d0

Please sign in to comment.