Skip to content

Commit 53b897a

Browse files
committed
Fix ippatsu
1 parent 0d65883 commit 53b897a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

priv/static/mods/yaku/ippatsu.jq

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
|
1717
# set ippatsu status on riichi
1818
if (.buttons | has("riichi")) then
19-
.buttons.riichi.actions |= map(if .[0] == "set_status" then . + ["ippatsu"] else . end)
19+
.buttons.riichi.actions += [["set_status", "ippatsu"]]
2020
else . end
2121
|
2222
# set ippatsu status on open riichi
2323
if (.buttons | has("open_riichi")) then
24-
.buttons.open_riichi.actions |= map(if .[0] == "set_status" then . + ["ippatsu"] else . end)
24+
.buttons.open_riichi.actions += [["set_status", "ippatsu"]]
2525
else . end
2626
|
2727
.functions.discard_passed |= [

0 commit comments

Comments
 (0)