|
|
|
@ -80,6 +80,9 @@ public class HostGameController extends Controller {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public void alertMatchBrowser(){
|
|
|
|
public void alertMatchBrowser(){
|
|
|
|
try{
|
|
|
|
try{
|
|
|
|
|
|
|
|
if (matchBrowserInterface == null){
|
|
|
|
|
|
|
|
return;//private game
|
|
|
|
|
|
|
|
}
|
|
|
|
matchBrowserInterface.startSendingHostData(App.game.getHostedGameData(), udpSocket);
|
|
|
|
matchBrowserInterface.startSendingHostData(App.game.getHostedGameData(), udpSocket);
|
|
|
|
}catch (IOException e){
|
|
|
|
}catch (IOException e){
|
|
|
|
System.err.println("failed to send out hosted game info");
|
|
|
|
System.err.println("failed to send out hosted game info");
|
|
|
|
|