1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-24 18:34:09 +02:00

fix: チー可能条件が間違っているのを修正

This commit is contained in:
zyoshoka
2025-04-18 19:59:06 +09:00
parent 977218bda5
commit dd8bd23d64
2 changed files with 2 additions and 2 deletions

View File

@@ -133,7 +133,7 @@ class StateManager {
const hand = this.handTileTypes[caller];
return Common.SHUNTU_PATTERNS.some(pattern =>
pattern.includes($type(tid)) &&
pattern.filter(t => hand.includes(t)).length >= 2);
pattern.filter(t => hand.includes(t) && t !== $type(tid)).length >= 2);
}
private withTsumoTile(tile: TileId | undefined, isRinshan: boolean): TileId {