forked from mirror/OpenTTD
(svn r20564) -Fix (r20562): provide compatibility for AIs using the 0.7/1.0 API and using AIList::ChangeItem
This commit is contained in:
@@ -317,3 +317,5 @@ AIIndustry.IsCargoAccepted <- function(industry_id, cargo_id)
|
|||||||
}
|
}
|
||||||
|
|
||||||
AIAbstractList <- AIList;
|
AIAbstractList <- AIList;
|
||||||
|
|
||||||
|
AIList.ChangeItem <- AIList.SetValue;
|
||||||
|
@@ -68,3 +68,5 @@ AIIndustry.IsCargoAccepted <- function(industry_id, cargo_id)
|
|||||||
}
|
}
|
||||||
|
|
||||||
AIAbstractList <- AIList;
|
AIAbstractList <- AIList;
|
||||||
|
|
||||||
|
AIList.ChangeItem <- AIList.SetValue;
|
||||||
|
Reference in New Issue
Block a user