News:

The Forum Rules and Guidelines
Our forum has Rules and Guidelines. Please, be kind and read them ;).

Automatically switch to "inspection tool"

Started by Yona-TYT, June 16, 2020, 03:16:16 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yona-TYT


There is a detail when using "rules.forbid_tool" and the tool we are using is no longer available.

It is a bit misleading since sometimes one starts to click without anything happening and then you realize that the tool is no longer there.

It would be good to change to the default selected tool (inspection tool) for those cases.

Yona-TYT

Can you replicate this? It would be great to improve this.

Dwachs

Parsley, sage, rosemary, and maggikraut.

Dwachs

Please test with r9144. The tools should be reset, but only if game is not paused. I added also a routine rules.gui_needs_update to signal this to the scenario. There might be a tiny delay between the call and the actual resetting.
Parsley, sage, rosemary, and maggikraut.

Yona-TYT

#4
Great !!, I'm going to try this !!... :D Edit.
It works very well, thank you very much!. 8)