SmartlyDressedGames / Unturned-3.x-Community

Community portion of the Unturned-3.x repo. If you have access to the source code you can find it here:
https://github.com/SmartlyDressedGames/Unturned-3.x/
83 stars 17 forks source link

Animation Cancel for Action Pump #4440

Closed Spebby closed 1 week ago

Spebby commented 2 weeks ago

This is usually not a problem, but some modded weapons will use Action Pump for break-action weapons. The game doesn't check properly for when the player is allowed to switch weapons (unlike during reloads.) If you spam a hotkey immediately after firing, the game will let you swap weapons, and will backpack pump for you. If you're a second too late, the game will prevent you from animation cancelling. For long animations, this will result in time saved. In vanilla, this would likely just waste time due to input delay and equip animations.

SDGNelson commented 2 weeks ago

Thanks for the report. It looks like the "needs rechamber" state doesn't mark the item as "busy".