Restrict context

This commit is contained in:
Emik 2026-06-24 00:00:03 +02:00
parent dcf9d55fcf
commit 7c64a5d8fa
Signed by: emik
GPG key ID: 6B0CD72A5E503BDF
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
"id": "Roland",
"name": "Roland",
"prefix": "Roland",
"version": "2.9.26",
"version": "2.9.27",
"badge_colour": "8BE9FD",
"display_name": "Roland",
"main_file": "src/main.lua",

View file

@ -1258,7 +1258,7 @@ joker {
return {card = card, numerator = extra.probability}
end
if context.end_of_round and extra.probability ~= extra.reset then
if context.end_of_round and not context.repetition and extra.probability ~= extra.reset then
extra.probability = extra.reset
return {message = localize "k_reset", colour = G.C.RED, message_card = card, repetitions = 0}
end