[feat] Network server layers can be randomized

This commit is contained in:
Steven Evans 2018-09-07 00:05:34 -04:00
parent 319b45ead5
commit 625734d326
2 changed files with 2 additions and 2 deletions

@ -177,7 +177,7 @@ function initForeignServers() {
AddToAllServers(server);
if (metadata.networkLayer !== undefined) {
networkLayers[metadata.networkLayer - 1].push(server);
networkLayers[toNumber(metadata.networkLayer) - 1].push(server);
}
}

@ -54,7 +54,7 @@ interface IServerMetadata {
* This value is between 1 and 15.
* If this is not populated, @specialName should be.
*/
networkLayer?: number;
networkLayer?: number | IMinMaxRange;
/**
* The number of ports that must be opened before the player can execute NUKE.