Skip to content

Commit

Permalink
unit:hasAttribute params
Browse files Browse the repository at this point in the history
  • Loading branch information
EddieEldridge committed Feb 25, 2025
1 parent 5867453 commit 85b66bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions M2TWEOP Code/M2TWEOP library/types/unit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1618,6 +1618,7 @@ void luaPlugin::initUnits()
/***
Check if unit has edu attribute.
@function unit:hasAttribute
@tparam string attributeName
@usage
local hasAttr = unit:hasAttribute("sea_faring");
*/
Expand Down

0 comments on commit 85b66bc

Please # to comment.