public static void exit() {
		if (Game.client != null && Game.client.isConnected()) Game.client.disconnect();
		if (Game.server != null) Game.server.shutdown();
		running = false;
		UpdateThread.requestStop = true;
		Settings.saveSettings();
		
		System.exit(0);
	}