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

gui_transport_weight_limit: Fix typo later causing lua crash. #4081

Conversation

saurtron
Copy link
Collaborator

Work done

  • Fix capitalization typo

Addresses Issue(s)

  • Errorcode: Error in GameFrame(): [string LuaUI/Widgets/gui_transport_weight_limit.lua]:149: attempt to index local transDef (a nil value) , count = 64

Remarks

  • The typo is: originally gets local unitdefID, then assigns it as unitDefID. I changed all to unitDefID since it looks more consistent with code style in the file.

@saurtron saurtron changed the title Fix typo at gui_transport_weight_limit later causing lua crash. gui_transport_weight_limit: Fix typo later causing lua crash. Dec 26, 2024
@Ruwetuin Ruwetuin merged commit 590c3c8 into beyond-all-reason:master Dec 26, 2024
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

Successfully merging this pull request may close these issues.

2 participants