- Timestamp:
- Oct 4, 2022, 7:53:57 PM (2 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCity.pas
r100 r110 95 95 begin 96 96 for City in Self do begin 97 City.LoadFromRegistry(TRegistryContext.Create(Context.RootKey, Context.Key + ' /' + City.SysName));97 City.LoadFromRegistry(TRegistryContext.Create(Context.RootKey, Context.Key + '\' + City.SysName)); 98 98 end; 99 99 end; … … 104 104 begin 105 105 for City in Self do begin 106 City.SaveToRegistry(TRegistryContext.Create(Context.RootKey, Context.Key + ' /' + City.SysName));106 City.SaveToRegistry(TRegistryContext.Create(Context.RootKey, Context.Key + '\' + City.SysName)); 107 107 end; 108 108 end; -
trunk/UEngine.pas
r109 r110 3319 3319 HighestServedPassengerCount := ReadIntegerWithDefault('HighestPassengers', 0); 3320 3320 HighestServedDaysCount := ReadIntegerWithDefault('HighestDays', 0); 3321 Cities.LoadFromRegistry(TRegistryContext.Create(RegistryContext.RootKey, RegistryContext.Key + ' /Cities'));3321 Cities.LoadFromRegistry(TRegistryContext.Create(RegistryContext.RootKey, RegistryContext.Key + '\Cities')); 3322 3322 finally 3323 3323 Free; … … 3334 3334 WriteInteger('HighestPassengers', HighestServedPassengerCount); 3335 3335 WriteInteger('HighestDays', HighestServedDaysCount); 3336 Cities.SaveToRegistry(TRegistryContext.Create(RegistryContext.RootKey, RegistryContext.Key + ' /Cities'));3336 Cities.SaveToRegistry(TRegistryContext.Create(RegistryContext.RootKey, RegistryContext.Key + '\Cities')); 3337 3337 finally 3338 3338 Free;
Note:
See TracChangeset
for help on using the changeset viewer.