Fixed stored energy truncation in transporter LUA scripts for CC & OC
This commit is contained in:
parent
09fc2300de
commit
04f67bf1b8
2 changed files with 2 additions and 2 deletions
|
@ -167,7 +167,7 @@ end
|
|||
function transporter_page_writeEnergy(energyStored, energyMax, energyUnits)
|
||||
w.setCursorPos(19, 8)
|
||||
w.setColorNormal()
|
||||
w.write(w.format_integer(energyStored, 7) .. " / " .. energyMax .. " " .. energyUnits .. " ")
|
||||
w.write(w.format_integer(energyStored, 8) .. " / " .. energyMax .. " " .. energyUnits .. " ")
|
||||
end
|
||||
|
||||
function transporter_page_writeLockStrength(lockStrength)
|
||||
|
|
|
@ -166,7 +166,7 @@ end
|
|||
function transporter_page_writeEnergy(energyStored, energyMax, energyUnits)
|
||||
w.setCursorPos(19, 8)
|
||||
w.setColorNormal()
|
||||
w.write(w.format_integer(energyStored, 7) .. " / " .. energyMax .. " " .. energyUnits .. " ")
|
||||
w.write(w.format_integer(energyStored, 8) .. " / " .. energyMax .. " " .. energyUnits .. " ")
|
||||
end
|
||||
|
||||
function transporter_page_writeLockStrength(lockStrength)
|
||||
|
|
Loading…
Reference in a new issue