|
@@ -60,7 +60,7 @@ function Hud:gui()
|
|
local alpha = math.clamp(math.lerp(self.bubble.prevTimer, self.bubble.timer, ls.accum / ls.tickrate), 0, 1)
|
|
local alpha = math.clamp(math.lerp(self.bubble.prevTimer, self.bubble.timer, ls.accum / ls.tickrate), 0, 1)
|
|
g.setColor(0, 0, 0, 128 * alpha)
|
|
g.setColor(0, 0, 0, 128 * alpha)
|
|
local amount = math.round(self.bubble.amountDisplay)
|
|
local amount = math.round(self.bubble.amountDisplay)
|
|
- local str = amount .. (self.bubble.multiplier > 1 and ('X ' .. self.bubble.multiplier) or '')
|
|
|
|
|
|
+ local str = amount .. (self.bubble.multiplier > 1 and (' X ' .. self.bubble.multiplier) or '')
|
|
local textWidth = g.getFont():getWidth(str)
|
|
local textWidth = g.getFont():getWidth(str)
|
|
g.print(str, gw / 2 - textWidth / 2 + 1, y + 1)
|
|
g.print(str, gw / 2 - textWidth / 2 + 1, y + 1)
|
|
g.setColor(255, 255, 255, 255 * alpha)
|
|
g.setColor(255, 255, 255, 255 * alpha)
|