Closed armorfid closed 8 months ago
@armorfid out of curiosity, why did you remove isDefensiveWeapon
? Does it not work?
didn't remove, but rather fixed it! seems like currentlyHeldObject
is always null and that the correct variable is currentlyHeldObjectServer
, for which isDefensiveWeapon
is sufficient for shotgun and shovel
Oops, you're right. The green highlight appears red in my room's lighting. My bad 😂
feel free to refactor StunMod if you wanna separate hitclick