删除不必要的变量
This commit is contained in:
parent
13eb252023
commit
4f7227aeb9
|
@ -6022,7 +6022,6 @@ export class Game extends Uninstantable {
|
||||||
const players = game.players.slice();
|
const players = game.players.slice();
|
||||||
if (event.deadTarget) players.addArray(game.dead);
|
if (event.deadTarget) players.addArray(game.dead);
|
||||||
const cards = player.getCards(event.position);
|
const cards = player.getCards(event.position);
|
||||||
const range = get.select(event.selectCard);
|
|
||||||
const isSelectable = card => {
|
const isSelectable = card => {
|
||||||
if (card.classList.contains('uncheck')) return false;
|
if (card.classList.contains('uncheck')) return false;
|
||||||
if (player.isOut()) return false;
|
if (player.isOut()) return false;
|
||||||
|
|
Loading…
Reference in New Issue