Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes bugs with designator usage (#4693)
# About the pull request <!-- Remove this text and explain what the purpose of your PR is. Mention if you have tested your changes. If you changed a map, make sure you used the mapmerge tool. If this is an Issue Correction, you can type "Fixes Issue #169420" to link the PR to the corresponding Issue number #169420. Remember: something that is self-evident to you might not be to others. Explain your rationale fully, even if you feel it goes without saying. --> The Laser Designator is a JTACer's workhorse and it's CLUNKY AS HELL. This fixes two main bugs: * The `interactee` is not properly cleared when using the designator (or any zoomed item), causing it to be unset instead of set the next time you use it. This means if you look up then back down your designator, you can't laze. * The interaction system wasn't made with movement in mind. It is a problem because zoom system allows movement, and designators are where the two meet. Now, they can explicitely keep interaction despite movement. # Explain why it's good for the game QoL that should have been done 6 years ago, give or take Because Zooming interactions are an awful mess, i'm flagging this for Testmerge where it'll inevitably break down # Testing Photographs and Procedure I take designator, i look, i try to laze. I put them down, move, do it again. And again. Several combinations of actions. The unzoom logic is blatantly busted and out of scope of the PR. # Changelog :cl: fix: Fixed Rangefinders/Designators preventing you from lazing if you looked up/down them without moving. fix: Fixed Rangefinders/Designators forcing you to look up/down again if you had moved while using them. /:cl:
- Loading branch information