File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -808,7 +808,7 @@ if JokerDisplay then
808808 },
809809 calc_function = function (card )
810810 local bonus = math.max (0 , math.floor (0.01 * card .ability .extra .percent * (G .GAME .dollars or 1 )))
811- card .joker_display_values .dollars = bonus and bonus > 0 and bonus or 0
811+ card .joker_display_values .dollars = bonus and bonus > to_big ( 0 ) and bonus or 0
812812 card .joker_display_values .localized_text = " (" .. localize (" k_round" ) .. " )"
813813 end ,
814814 }
@@ -1544,7 +1544,7 @@ if JokerDisplay then
15441544 },
15451545 calc_function = function (card )
15461546 local bonus = math.max (0 , math.floor (0.01 * card .ability .extra .percent * (G .GAME .dollars or 0 )))
1547- card .joker_display_values .dollars = bonus and bonus > 0 and bonus or 0
1547+ card .joker_display_values .dollars = bonus and bonus > to_big ( 0 ) and bonus or 0
15481548 card .joker_display_values .localized_text = " (" .. localize (" k_round" ) .. " )"
15491549 end ,
15501550 }
You can’t perform that action at this time.
0 commit comments