bitburner-official / bitburner-src

Bitburner source code.
Other
911 stars 288 forks source link

BUG: Typescript scripts not running after game load #1910

Closed HolyNaet closed 1 week ago

HolyNaet commented 1 week ago

OS: Windows 10 (Build 19044.5247) Platform: Steam

Minimal script to reproduce the issue:

export async function main(ns: NS) {
    while (true) {
        ns.tprint('I\m running!');
        await ns.sleep(5000);
    }
}

Steps to reproduce:

  1. Run the said minimal script.
  2. Reload or shut down the game and start again.

Behavior: Script does not continue running as intended.

catloversg commented 1 week ago

Fixed by #1857.