Skip to content

Commit b83d395

Browse files
authored
Update stuckdoors.lua
getUnitsInBox now returns active by default
1 parent e50fc2e commit b83d395

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fix/stuckdoors.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ end
99

1010
-- Util function: find out if there are any units on the tile with coordinates x,y,z
1111
function unitOnTile(x, y, z)
12-
local units = dfhack.units.getUnitsInBox(x,y,z,x,y,z,dfhack.units.isActive)
12+
local units = dfhack.units.getUnitsInBox(x,y,z,x,y,z)
1313
return #(units) > 0
1414
end
1515

0 commit comments

Comments
 (0)