Changeset 370
- Timestamp:
- Jan 2, 2025, 4:56:18 PM (2 days ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Core.pas
r365 r370 524 524 {$ENDIF} 525 525 begin 526 GameFilesDir := '';526 GameFilesDir := ExtractFilePath(ParamStr(0)); 527 527 {$IFDEF Linux} 528 528 // If installed in Linux system then use installation shared game directory for data files … … 817 817 818 818 procedure TCore.Init; 819 var 820 GameSystem: TGameSystem; 819 821 begin 820 822 if not Core.Initialized then begin … … 828 830 // GameSystemName needs to be loaded before game systems config itself. 829 831 // Players reference Nations from game system. 830 GameSettings.GameSystem.Assign(GameSystems.SearchByName(string(XMLConfig1.GetValue(DOMString('Game/GameSystemName'), DOMString('HexWars'))))); 832 GameSystem := GameSystems.SearchByName(string(XMLConfig1.GetValue(DOMString('Game/GameSystemName'), DOMString('HexWars')))); 833 if Assigned(GameSystem) then GameSettings.GameSystem.Assign(GameSystem); 831 834 GameSettings.LoadConfig(XMLConfig1, 'Game'); 832 835 Server.LoadConfig(XMLConfig1, 'Server'); -
trunk/Install/flatpak/net.zdechov.app.xTactics.yml
r369 r370 27 27 - type: svn 28 28 url: https://svn.zdechov.net/xtactics/trunk 29 revision: r3 6929 revision: r370 30 30 buildsystem: simple 31 31 build-commands:
Note:
See TracChangeset
for help on using the changeset viewer.