-
Notifications
You must be signed in to change notification settings - Fork 181
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
makes scenario_20_training1 playable again for non-english-languages #2095
Conversation
scripts/scenario_20_training1.lua
Outdated
@@ -135,6 +84,7 @@ There will be not much resistance, so you can try different approaches and tacti | |||
|
|||
Here's your chance to beat up some helpless opponents. | |||
Commander Saberhagen out.]])) | |||
globalMessage("Test") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Test"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops - Sorry that was a debugging remnant, I just removed it.
I do wonder if there isn't just a simpler fix, where we say |
That would still leave 3 other errors on lines with setModelDataName, though. |
also fixable with nil checks, but I understand that that isn't great. I'll think a bit about it and most likely accept your pull request. The database modification from scripts are messy, so maybe having less of them is better right now. |
Especially for that scenario, I don't see much benefit for those db modifications considering the problems. It is literally just the same ship with the same db entry just copied into the exuari category with another name. I am not sure if that feature is worth the hassle. And the custom typenames are very descriptive, so sourcing them out to the descriptions wouldn't be that bad IMO. |
…aid#2095) * makes scenario_20_training1 playable again for non-english-languages * remove debug message --------- Co-authored-by: aBlueShadow <falter@mxdreamer>
This addresses #1686 and especially #1686 (comment) , as that scenario became unplayable for non-english languages.
This PR does not try to fix the actual issue (which seems to be very persistent) but offers a workaround, to make it at least playable again.