Browse Source

Fix static value in debug info

ApisNecros 1 year ago
parent
commit
c048ced800
1 changed files with 2 additions and 2 deletions
  1. 2 2
      11/11_common.ts

+ 2 - 2
11/11_common.ts

@@ -76,7 +76,7 @@ export class StarMap {
             if (between(col, galaxy1.X, galaxy2.X)) {
                 yOffset += this.expansionRate;
                 if (debug) {
-                    console.log(`Adding 2 for the empty column at ${col}`);
+                    console.log(`Adding ${this.expansionRate} for the empty column at ${col}`);
                 }
             }
         });
@@ -84,7 +84,7 @@ export class StarMap {
             if (between(row, galaxy1.Y, galaxy2.Y)) {
                 xOffset += this.expansionRate;
                 if (debug) {
-                    console.log(`Adding 2 for the empty row at ${row}`);
+                    console.log(`Adding ${this.expansionRate} for the empty row at ${row}`);
                 }
             }
         });