Originally Posted by Nallepuh
hi, just a Quick question, if i want to remove "show total" like 1.4/2.2Žand i only want 1.4 example... in the future, what do i remove/add in LUA code! thanks!
|
You would change line 12 from:
lua Code:
self.timer:SetText(format("%2.1f/%1.1f", max(self.maxValue - self.value, 0), self.maxValue))
to:
lua Code:
self.timer:SetText(format("%.1f", max(self.maxValue - self.value, 0)))