We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d65883 commit 53b897aCopy full SHA for 53b897a
priv/static/mods/yaku/ippatsu.jq
@@ -16,12 +16,12 @@
16
|
17
# set ippatsu status on riichi
18
if (.buttons | has("riichi")) then
19
- .buttons.riichi.actions |= map(if .[0] == "set_status" then . + ["ippatsu"] else . end)
+ .buttons.riichi.actions += [["set_status", "ippatsu"]]
20
else . end
21
22
# set ippatsu status on open riichi
23
if (.buttons | has("open_riichi")) then
24
- .buttons.open_riichi.actions |= map(if .[0] == "set_status" then . + ["ippatsu"] else . end)
+ .buttons.open_riichi.actions += [["set_status", "ippatsu"]]
25
26
27
.functions.discard_passed |= [
0 commit comments