mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-22 01:03:01 +02:00
a20dd47ec6
this prevents a crash by trying to open the script editor with a script open that exists on a server that has been deleted this is achieved by filtering the list of open scripts whenever the editor is opened and removing any that exist on a server that has been deleted it also handles the case of the selected script being one that was removed in which case it defaults to selecting the first script