Skip to content

Hotfix: incorrect variable name in updateWeapon function#1939

Merged
thelindat merged 1 commit into
overextended:mainfrom
Maximus7474:fix/updateWeaponMeta
May 15, 2026
Merged

Hotfix: incorrect variable name in updateWeapon function#1939
thelindat merged 1 commit into
overextended:mainfrom
Maximus7474:fix/updateWeaponMeta

Conversation

@Maximus7474

Copy link
Copy Markdown
Member

This PR corrects an oversight introduced in 0f43d65 where the type variable was renamed to vtype for better naming convention as it overwrote the base lua type function.

This oversight leads to weapon metadata not being updated correctly which in turn leads to components not being saved to the weapon in effect reverting the changes made to it when unequipping/reequipping the weapon.

@Maximus7474 Maximus7474 added the bug Something isn't working label May 15, 2026
@thelindat thelindat merged commit cf565b9 into overextended:main May 15, 2026
@Maximus7474 Maximus7474 deleted the fix/updateWeaponMeta branch May 22, 2026 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants