Changeset 196 for trunk/UGameServer.pas
- Timestamp:
- May 16, 2018, 9:56:24 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UGameServer.pas
r191 r196 62 62 end; 63 63 64 const 65 DefaultServerPort = 40009; 64 66 65 67 implementation … … 173 175 with Config do begin 174 176 LocalNetworkAddress := string(GetValue(DOMString(Path + '/LocalNetworkAddress'), 'localhost')); 175 LocalNetworkPort := GetValue(DOMString(Path + '/LocalNetworkPort'), 40009);177 LocalNetworkPort := GetValue(DOMString(Path + '/LocalNetworkPort'), DefaultServerPort); 176 178 RemoteNetworkAddress := string(GetValue(DOMString(Path + '/RemoteNetworkAddress'), 'localhost')); 177 RemoteNetworkPort := GetValue(DOMString(Path + '/RemoteNetworkPort'), 40009);179 RemoteNetworkPort := GetValue(DOMString(Path + '/RemoteNetworkPort'), DefaultServerPort); 178 180 Mode := TServerMode(GetValue(DOMString(Path + '/Mode'), Integer(smLocal))); 179 181 end;
Note:
See TracChangeset
for help on using the changeset viewer.