mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-23 21:43:37 +00:00
fix
This commit is contained in:
@@ -70,4 +70,4 @@ jobs:
|
||||
node-version: "20"
|
||||
cache: "npm"
|
||||
- run: npm ci
|
||||
- run: npx prettier --check .
|
||||
- run: npx biome format .
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
"enabled": true
|
||||
},
|
||||
"files": {
|
||||
"ignoreUnknown": false
|
||||
"ignoreUnknown": true
|
||||
},
|
||||
"formatter": {
|
||||
"enabled": true,
|
||||
|
||||
Generated
-17
@@ -76,7 +76,6 @@
|
||||
"css-loader": "^7.1.2",
|
||||
"d3": "^7.9.0",
|
||||
"eslint": "^9.21.0",
|
||||
"eslint-config-prettier": "^10.1.1",
|
||||
"eslint-formatter-gha": "^1.5.2",
|
||||
"eslint-plugin-jest": "^29.0.1",
|
||||
"eslint-webpack-plugin": "^5.0.0",
|
||||
@@ -11266,22 +11265,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/eslint-config-prettier": {
|
||||
"version": "10.1.5",
|
||||
"resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-10.1.5.tgz",
|
||||
"integrity": "sha512-zc1UmCpNltmVY34vuLRV61r1K27sWuX39E+uyUnY8xS2Bex88VV9cugG+UZbRSRGtGyFboj+D8JODyme1plMpw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
"eslint-config-prettier": "bin/cli.js"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://opencollective.com/eslint-config-prettier"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"eslint": ">=7.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/eslint-formatter-gha": {
|
||||
"version": "1.5.2",
|
||||
"resolved": "https://registry.npmjs.org/eslint-formatter-gha/-/eslint-formatter-gha-1.5.2.tgz",
|
||||
|
||||
@@ -470,6 +470,9 @@ export class EventsDisplay extends LitElement implements Layer {
|
||||
},
|
||||
],
|
||||
createdAt: this.game.ticks(),
|
||||
description: translateText("events_display.request_alliance", {
|
||||
name: requestor.name(),
|
||||
}),
|
||||
duration: this.game.config().allianceRequestDuration() - 20, // 2 second buffer
|
||||
focusID: update.requestorID,
|
||||
priority: 0,
|
||||
@@ -477,6 +480,7 @@ export class EventsDisplay extends LitElement implements Layer {
|
||||
// Recipient sent a separate request, so they became allied without the recipient responding.
|
||||
return requestor.isAlliedWith(recipient);
|
||||
},
|
||||
type: MessageType.ALLIANCE_REQUEST,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user