Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-English KSP can not repack parachute #238

Open
tinygrox opened this issue Mar 10, 2020 · 0 comments
Open

Non-English KSP can not repack parachute #238

tinygrox opened this issue Mar 10, 2020 · 0 comments

Comments

@tinygrox
Copy link

KSP version

1.9.1.2788

Language

zh-cn Simplified Chinese

FAR version

3:0.15.11.4

Description

image

After using the parachute, assign a level 2 engineer to repackage the parachute.
Keep showing message: "只有1级以上的工程师能重新打包降落伞" which means "Only a level 1 and higher engineer can repack a parachute" in English.

Playing in English does not have this problem.

My conclusion

The cause of this problem is the code on line 139 of file RealChuteLite\RealChuteFAR.cs

|| kerbal.experienceTrait.Title == "Engineer" && kerbal.experienceLevel >= 1;

When I change it to
kerbal.experienceTrait.Title == Localizer.Format("#autoLOC_500103") && kerbal.experienceLevel >= 1;
and compile it on my computer, problem solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant