This commit is contained in:
Scott Anderson
2025-05-13 02:13:27 -04:00
parent 781ddb5911
commit a38d3d986f
23 changed files with 39 additions and 42 deletions
+2 -2
View File
@@ -23,7 +23,7 @@ export class SAMLauncherExecution implements Execution {
private MIRVWarheadSearchRadius = 400;
private MIRVWarheadProtectionRadius = 50;
private pseudoRandom: PseudoRandom;
private pseudoRandom: PseudoRandom | undefined;
constructor(
private ownerId: PlayerID,
@@ -115,7 +115,7 @@ export class SAMLauncherExecution implements Execution {
this.player = this.sam.owner();
}
if (this.pseudoRandom === null) {
if (this.pseudoRandom === undefined) {
this.pseudoRandom = new PseudoRandom(this.sam.id());
}