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

UPS adapter mod crash fix #31800

Merged
merged 3 commits into from
Jun 24, 2019
Merged

Conversation

eilaattwood
Copy link
Contributor

Summary

SUMMARY: Bugfixes "Crash when inspecting a tool with UPS conversion mod attached"

Purpose of change

Fixes #31688 - UPS conversion mod crash
Fixes #31633 - Examining UPS modded tool causes error

Describe the solution

Removed unnecessary ammo_modifier field in UPS conversion mod definition, as since #31766 tool is not using internal ammo after attaching a mod.

Describe alternatives you've considered

I don't know.

Additional context

None

@alanbrady
Copy link
Contributor

Apparently this is the only non-obsolete item using ammo_modifier. We need to just rip out the code using ammo_modifier if it's completely broken and unused.

@ZhilkinSerg ZhilkinSerg added <Bugfix> This is a fix for a bug (or closes open issue) [JSON] Changes (can be) made in JSON labels Jun 24, 2019
@ZhilkinSerg ZhilkinSerg merged commit e7f5070 into CleverRaven:master Jun 24, 2019
@eilaattwood eilaattwood deleted the ups-crash-fix branch June 25, 2019 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bugfix> This is a fix for a bug (or closes open issue) [JSON] Changes (can be) made in JSON
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UPS conversion mod crash Examining UPS modded tool causes error
3 participants