Skip to content

Commit

Permalink
Update data/pigui/modules/station-view/06-shipRepairs.lua
Browse files Browse the repository at this point in the history
Co-Authored-By: vakhoir <48452426+vakhoir@users.noreply.github.com>
  • Loading branch information
impaktor and vakhoir authored Feb 16, 2020
1 parent 28d7146 commit d90b5b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions data/pigui/modules/station-view/06-shipRepairs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ local function drawShipRepair()
else
ui.withFont(pionillium.medlarge.name, pionillium.medlarge.size, function ()
ui.text(getRepairMessage(damageToRepair, repair_cost))
ui.pushItemWidth(widgetSizes.gaugeWidth)
damageToRepair = ui.sliderInt("", damageToRepair, 1, damage, "%d%%")
repair_cost = getRepairCost(damageToRepair, shipDef)
end)
Expand Down

0 comments on commit d90b5b3

Please sign in to comment.