Ignore:
Timestamp:
Dec 27, 2024, 10:29:54 AM (13 days ago)
Author:
chronos
Message:
  • Fixed: ItemList interface implementation was not working as expected. Implemented as proxy list instead.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/FormGameSystem.pas

    r344 r349  
    116116  FGameSystem := AValue;
    117117  if Assigned(FGameSystem) then begin
    118     FormUnitKinds.List := GameSystem.UnitKinds;
    119     FormNations.List := GameSystem.Nations;
    120     FormBuildingKinds.List := GameSystem.BuildingKinds;
     118    FormUnitKinds.List := GameSystem.UnitKinds.BaseItemList;
     119    FormNations.List := GameSystem.Nations.BaseItemList;
     120    FormBuildingKinds.List := GameSystem.BuildingKinds.BaseItemList;
    121121  end;
    122122end;
Note: See TracChangeset for help on using the changeset viewer.