Skip to content

Commit

Permalink
Update Lua API.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
Bumber64 authored Sep 21, 2024
1 parent 04110bd commit 43a20e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/dev/Lua API.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1405,7 +1405,7 @@ Units module
The unit is active (non-dead and probably on the map). Unit must also be
present in the ``world.units.active`` vector to rule out raid missions. Use
``utils.linear_index`` after this function returns true if you aren't
certain (i.e., you aren't already iterating that vector).
certain (i.e., not already iterating active units).

* ``dfhack.units.isVisible(unit)``

Expand Down Expand Up @@ -1614,7 +1614,7 @@ Units module
Returns true if the unit is within a box defined by the specified
coordinates. Make sure the unit is flagged active and is present in
``world.units.active`` first, as the result may indicate that the unit
died or left map here.
died or left the map here.

* ``dfhack.units.getUnitsInBox(x1,y1,z1,x2,y2,z2[,filter])``

Expand Down

0 comments on commit 43a20e1

Please sign in to comment.