Skip to content

Commit c27777a

Browse files
TimurKelmanmyk002
andauthored
Update gui/tooltips.lua
Co-authored-by: Myk <myk.taylor@gmail.com>
1 parent 66dce0d commit c27777a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gui/tooltips.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ local function GetTooltipText(x,y,z)
8282
local txt = {}
8383
local units = dfhack.units.getUnitsInBox(x,y,z,x,y,z) or {} -- todo: maybe (optionally) use filter parameter here?
8484

85-
for _,unit in pairs(units) do
85+
for _,unit in ipairs(units) do
8686
txt[#txt+1] = GetUnitNameAndJob(unit)
8787
txt[#txt+1] = NEWLINE
8888
end

0 commit comments

Comments
 (0)