BUGFIX: Duplicated program in edge case (#1549)

This commit is contained in:
catloversg
2024-08-06 03:43:56 +07:00
committed by GitHub
parent 180dae1d2c
commit 1a8dcad02b
6 changed files with 12 additions and 16 deletions
@@ -67,7 +67,7 @@ export function init(this: PlayerObject): void {
this.currentServer = SpecialServers.Home;
AddToAllServers(t_homeComp);
this.getHomeComputer().programs.push(CompletedProgramName.nuke);
this.getHomeComputer().pushProgram(CompletedProgramName.nuke);
}
export function prestigeAugmentation(this: PlayerObject): void {