mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-24 18:34:09 +02:00
fix: チー可能条件が間違っているのを修正
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user