mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
scoreboard: bug fixes
This commit is contained in:
6 files changed
+6
-6
No files matched your search
@@ -96,7 +96,7 @@ export async function apply(ctx: Context) {
|
||||
},
|
||||
},
|
||||
balloon_color: tdoc.balloon
|
||||
? tdoc.pids.map((i) => ({
|
||||
? tdoc.pids.filter((i) => tdoc.balloon[i]).map((i) => ({
|
||||
color: '#000',
|
||||
background_color: typeof tdoc.balloon[i] === 'string' ? tdoc.balloon[i] : tdoc.balloon[i].color,
|
||||
}))
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@hydrooj/scoreboard-xcpcio",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"version": "0.0.2",
|
||||
"version": "0.0.3",
|
||||
"main": "index.ts",
|
||||
"scripts": {
|
||||
"postinstall": "node -r @hydrooj/register install.ts"
|
||||
|
||||
Reference in new issue
Block a user