Fixed Color Reset Markup not working correctly when a linebreak is inbetween a color definition and the Color Reset markup
This commit is contained in:
1 parent
71979b2616
commit
d9ade75c00
5 files changed
+15
-16
No files matched your search
+1
-1
@@ -221,7 +221,7 @@ local game = Game()
|
||||
if multiplier == 2 then v = 16.5
|
||||
elseif multiplier == 3 then v = (1/6)*100 end -- convert 17% to 33% or 50%
|
||||
elseif v == 33 and (multiplier == 1.5 or multiplier == 3) then v = (1/3)*100 end -- convert 33% to 50% or 100%
|
||||
return "{{ColorGold}}" .. string.format("%.4g",v*multiplier) .. "{{ColorText}}"
|
||||
return "{{ColorGold}}" .. string.format("%.4g",v*multiplier) .. "{{CR}}"
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user