During the development of a mod I noticed function whip.lua:33 supercrack search did not exclude the inst itself. So when a mob rather than a player is using a whip, it can actually hit itself, which makes an awkward situation.
Just add a check can avoid this.
for i,v in ipairs(ents) do if v~=inst then ... end
Steps to Reproduce
Give a mob a whip and let it attack you.
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 account
Already have an account? Sign in here.Sign In Now