File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ local function get_lever_state_char(lever) --lever position glyph for the curren
5959 return lever .state == 0 and ASCII_LEVER_OFF or ASCII_LEVER_ON
6060end
6161
62- local function pull_label (lever ) -- button label and pen for the lever's pull state
62+ local function get_pull_label (lever ) -- button label and pen for the lever's pull state
6363 local state_char = get_lever_state_char (lever ) -- current lever position
6464 local job = get_pull_job (lever )
6565 if not job then
@@ -446,7 +446,7 @@ function MechLinkOverlay:update_buttons()
446446 local target = idx > 0 and idx < bci_len and
447447 get_mech_target (self .building .contained_items [idx ].item )
448448 if is_lever (target ) then
449- local label , pen = pull_label (target )
449+ local label , pen = get_pull_label (target )
450450 pbutton :setLabel (label )
451451 pbutton .label .text_pen = pen
452452 pbutton .frame .t = offset
You can’t perform that action at this time.
0 commit comments