I'm not sure if this is a bug, but it seems that switching between tools is not executing "exit(player_t)" correctly for the script tools.
When changing from a script tool to a normal tool this is not working:
bool tool_exec_script_t::exit(player_t* player)
I cannot reproduce this. Maybe there is a special condition in your game (scneario?) preventign this?
Quote from: Dwachs on December 03, 2022, 01:20:02 PMI cannot reproduce this. Maybe there is a special condition in your game (scneario?) preventign this?
This is in regards to the script tool window patch. I was trying to get the window to close when switching script tools, but using "exit" didn't do the trick.
I'll have to find another approach.