Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/client/graphics/layers/BuildMenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ export const buildTable: BuildItemDisplay[][] = [
key: "unit_type.missile_silo",
countable: true,
},
// needs new icon
{
unitType: UnitType.SAMLauncher,
icon: samlauncherIcon,
Expand Down Expand Up @@ -498,7 +497,7 @@ export class BuildMenu extends LitElement implements Layer {
this.requestUpdate();
});

// removed disabled buildings from the buildtable
// remove disabled buildings from the buildtable
this.filteredBuildTable = this.getBuildableUnits();
}

Expand Down
4 changes: 2 additions & 2 deletions src/core/worker/Worker.worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ ctx.addEventListener("message", async (e: MessageEvent<MainThreadMessage>) => {
result: actions,
} as PlayerActionsResultMessage);
} catch (error) {
console.error("Failed to check borders:", error);
console.error("Failed to get actions:", error);
throw error;
}
break;
Expand All @@ -120,7 +120,7 @@ ctx.addEventListener("message", async (e: MessageEvent<MainThreadMessage>) => {
result: profile,
} as PlayerProfileResultMessage);
} catch (error) {
console.error("Failed to check borders:", error);
console.error("Failed to get profile:", error);
throw error;
}
break;
Expand Down
Loading