fixed # 修正已知BUG

This commit is contained in:
2026-10-05 17:41:18 +08:00
parent cab413af50
commit 3ac3b5e52a
12 changed files with 443 additions and 174 deletions
+3 -1
View File
@@ -7,7 +7,9 @@ import { createHandInput } from "./input.js";
export async function mountHandUI(player, session, env) {
const { ui, document, window, cardCost, styleURL } = env;
const adapter = createHandAdapter(player, ui);
const overlays = createHandOverlays(document, card => cardCost(card, player));
const overlays = createHandOverlays(document, card => cardCost(card, player), {
definitions: env.lib?.card, translations: env.lib?.translate,
});
const fan = createHandFan(adapter, env);
let input = null;
const restores = [];