Skip to content

Commit 804c4c0

Browse files
committed
pull_label -> get_pull_label
1 parent 770d333 commit 804c4c0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/lua/buildingplan/unlink_mechanisms.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
6060
end
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

0 commit comments

Comments
 (0)