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

items: fix removing irremovable toolmods #28835

Merged
merged 1 commit into from
Mar 20, 2019

Conversation

alanbrady
Copy link
Contributor

Summary

SUMMARY: Bugfixes "Fix installing irremovable toolmods on other tools exploit"

Purpose of change

If you use the '%' action menu it's possible to install an irremovable toolmod already installed on another tool.

Describe the solution

This fixes the issue by explicitly checking if the action is TOOLMOD_ATTACH checking if it has the flag IRREMOVABLE.

Additional context

Fixes #21260

If you use the '%' action menu it's possible to install an irremovable
toolmod already installed on another tool.

This fixes the issue by explicitly checking if the action is
TOOLMOD_ATTACH checking if it has the flag IRREMOVABLE.
@ZhilkinSerg ZhilkinSerg added Items: Gunmod / Toolmod Weapon and tool attachments, and add-ons [C++] Changes (can be) made in C++. Previously named `Code` Items / Item Actions / Item Qualities Items and how they work and interact <Bugfix> This is a fix for a bug (or closes open issue) labels Mar 20, 2019
@ZhilkinSerg ZhilkinSerg merged commit a7f6df4 into CleverRaven:master Mar 20, 2019
@alanbrady alanbrady deleted the fix-remove-toolmod branch March 20, 2019 06:42
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) [C++] Changes (can be) made in C++. Previously named `Code` Items: Gunmod / Toolmod Weapon and tool attachments, and add-ons Items / Item Actions / Item Qualities Items and how they work and interact
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tools and UPS conversion mods
3 participants