Closing the script console might switch which script is open

Describe the bug:
Closing the script console might switch which script is open. Possibly related to this bug: Open script window order randomly changes when you close one of them

How do you cause this bug?

  • Have multiple script windows open
  • Have the console window open
  • Close the console window
  • The selected script might have changed to a different one

Which platform: PC

Which input: keyboard + mouse

Your Crayta username: Vilva#9953

How regularly do you see this? (E.g. 2/3 times - please try 3 times if possible): Often

Time + date seen: 24.01.2022

Version number (found in Help tab in Settings): 0.e3.63.114111