BUGFIX: Ensure that IPvGO promises are initialized correctly on a new save and on fluming (#2032)

This commit is contained in:
Michael Ficocelli
2025-03-17 18:55:32 -04:00
committed by GitHub
parent 88fef7d8a3
commit 47b34c8563
5 changed files with 15 additions and 11 deletions
+2
View File
@@ -47,6 +47,7 @@ import { SaveData } from "./types";
import { Go } from "./Go/Go";
import { EventEmitter } from "./utils/EventEmitter";
import { Companies } from "./Company/Companies";
import { resetGoPromises } from "./Go/boardAnalysis/goAI";
declare global {
// This property is only available in the dev build
@@ -391,6 +392,7 @@ const Engine: {
Player.init();
initForeignServers(Player.getHomeComputer());
Player.reapplyAllAugmentations();
resetGoPromises();
// Start interactive tutorial
iTutorialStart();