Skip to content

Commit f2164a4

Browse files
committed
fix
1 parent d9a1782 commit f2164a4

File tree

4 files changed

+6
-19
lines changed

4 files changed

+6
-19
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@ jobs:
7070
node-version: "20"
7171
cache: "npm"
7272
- run: npm ci
73-
- run: npx prettier --check .
73+
- run: npx biome format .

biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"enabled": true
1010
},
1111
"files": {
12-
"ignoreUnknown": false
12+
"ignoreUnknown": true
1313
},
1414
"formatter": {
1515
"enabled": true,

package-lock.json

Lines changed: 0 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/client/graphics/layers/EventsDisplay.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,13 +470,17 @@ export class EventsDisplay extends LitElement implements Layer {
470470
},
471471
],
472472
createdAt: this.game.ticks(),
473+
description: translateText("events_display.request_alliance", {
474+
name: requestor.name(),
475+
}),
473476
duration: this.game.config().allianceRequestDuration() - 20, // 2 second buffer
474477
focusID: update.requestorID,
475478
priority: 0,
476479
shouldDelete: (game) => {
477480
// Recipient sent a separate request, so they became allied without the recipient responding.
478481
return requestor.isAlliedWith(recipient);
479482
},
483+
type: MessageType.ALLIANCE_REQUEST,
480484
});
481485
}
482486

0 commit comments

Comments
 (0)