Unit.carriedBy

From Scenario League Wiki
Revision as of 20:55, 18 January 2019 by Prof. Garfield (talk | contribs) (Added Documentation to this function)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

unit.carriedBy will sometimes point to other units, even units of a different tribe, when the unit is not being carried. I discovered this while working on a scenario that was converted from an earlier version of Civ II, so it might be an artifact of that, but I don't know for sure.