From 06dbe7d780a2633a23e14455750accb3016d2918 Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Mon, 15 Aug 2016 11:49:16 +0200 Subject: [PATCH] bugfix --- tables/auction_listing.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tables/auction_listing.lua b/tables/auction_listing.lua index d164103..4a75cdf 100644 --- a/tables/auction_listing.lua +++ b/tables/auction_listing.lua @@ -545,10 +545,7 @@ function private.percentage_color(pct) end function public.percentage_historical(pct, bid) - if pct > 10000 then - pct = '>10000' - end - return (bid and m.colors.GRAY or m.percentage_color(pct))..pct..'%'..FONT_COLOR_CODE_CLOSE + return (bid and m.colors.GRAY or m.percentage_color(pct))..(pct > 10000 and '>10000' or pct)..'%'..FONT_COLOR_CODE_CLOSE end function public.time_left(code)