At around line 180, Wolfgang does this check.
Quoteif target ~= nil and data.weapon == nil or data.weapon.components.inventoryitem:IsHeldBy(inst) then
The line should be something like this instead.
Quoteif target ~= nil and data.weapon == nil or (data.weapon.components.inventoryitem and data.weapon.components.inventoryitem:IsHeldBy(inst)) then
As this plays nicer with modded items and projectiles that aren't inventory items, since Wolfgang currently assumes they are regardless.
Steps to Reproduce
Attempt to enter combat with a weapon that uses a ranged projectile that's not considered an inventoryitem.
A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now