diff --git a/Page/en/Development/Script/RailPathfinder.mediawiki b/Page/en/Development/Script/RailPathfinder.mediawiki index 4af6ba11a8..9d29888183 100644 --- a/Page/en/Development/Script/RailPathfinder.mediawiki +++ b/Page/en/Development/Script/RailPathfinder.mediawiki @@ -99,7 +99,7 @@ Suppose the pathfinder returned a path, how do start building it? For a start, i } else { local bridge_list = AIBridgeList_Length(AIMap.DistanceManhattan(path.GetTile(), prev) + 1); bridge_list.Valuate(AIBridge.GetMaxSpeed); - bridge_list.Sort(AIAbstractList.SORT_BY_VALUE, false); + bridge_list.Sort(AIList.SORT_BY_VALUE, false); AIBridge.BuildBridge(AIVehicle.VT_RAIL, bridge_list.Begin(), prev, path.GetTile()); } prevprev = prev;