mirror of
https://github.com/Shu-Ying/noname-shuying.git
synced 2026-10-21 14:49:59 +08:00
fixed # 修正已知BUG
This commit is contained in:
@@ -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 = [];
|
||||
|
||||
Reference in New Issue
Block a user