Slouista / FurbeeStation13-Aug2021line

Furrycode and Austation || Beestation Mashup
GNU Affero General Public License v3.0
1 stars 3 forks source link

Pickaxe mining issue #6

Open Moltovz opened 3 years ago

Moltovz commented 3 years ago

Round ID: 6690

When mining with a pickax, swapping hands will stop the action of mining (which is normal) however, you cant click the object you stopped mining until the action would have ended.

Reproduction:

Click a rock with a pickaxe, swap hands, then try to mine the rock again, you will be unable to _until the timer is done for the canceled action

https://user-images.githubusercontent.com/61367602/107262172-34a13a80-6a0e-11eb-85e8-3d5cc38346d7.mp4

_

park66665 commented 3 years ago

This is an intended behavior. If it bothers you, implement flag that denotes whether the mineral turf is being mined.

https://github.com/Slouista/FurbeeStation13-Mainline/blob/4f9ec1ec826a41502d85b1d4f85fc03c5d1b4a69/code/game/turfs/closed/minerals.dm#L59-L61