Added two additional config files and moved them into a cfg/ directory

This commit is contained in:
Obique PSWG
2015-05-29 00:44:19 -05:00
parent 9dd8ddd13f
commit 4bf73d0373
10 changed files with 42 additions and 35 deletions
+1 -1
View File
@@ -239,7 +239,7 @@ public class ZoneService extends Service {
}
private void sendServerInfo(Galaxy galaxy, long networkId) {
Config c = getConfig(ConfigFile.PRIMARY);
Config c = getConfig(ConfigFile.NETWORK);
String name = c.getString("ZONE-SERVER-NAME", galaxy.getName());
int id = c.getInt("ZONE-SERVER-ID", galaxy.getId());
sendPacket(networkId, new ServerString(name + ":" + id));