[1.6.7] Heavy weapon psi wield bad lua error

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Horken
Cornac
Posts: 35
Joined: Wed Aug 19, 2020 10:53 am

[1.6.7] Heavy weapon psi wield bad lua error

#1 Post by Horken »

I tried some weird adventurer built, and that went wrong.
When you have a psi-wielded shooter and no mainhand shooter you can activate heavy weapons, but except for shockstaff bad things happen. I got some lua error, and afterwards was no longer capable of shooting at all, no matter what I was wearing.
There probably should be some sanity check for heavy weapons to check that, currently its on_pre_use only checks for heavy ammunition, not for having a shooter equipped.

Post Reply