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

Fix crash when loading plan in 199.6 #866

Closed
wants to merge 1 commit into from

Conversation

PhantomGamers
Copy link

@PhantomGamers PhantomGamers commented Aug 14, 2020

The _get_type_cost function was renamed to get_type_cost, rename it here so that clients don't crash when loading plans.

Fixes #865

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My changes generate no new warnings

The _get_type_cost function was renamed to get_type_cost, rename it here so that clients don't crash when loading plans.
@PhantomGamers
Copy link
Author

#867 is a more complete fix, don't know how I missed the other instance of get_type_cost though from my testing only changing this one fixed the crash. in what case is the other one called?

@PhantomGamers PhantomGamers deleted the patch-1 branch August 14, 2020 10:46
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.

Game crashes when trying to save or load plan
1 participant