|
|
|
@ -53,6 +53,7 @@ public class HostGameController extends Controller {
|
|
|
|
public void hostGamePressed() {
|
|
|
|
public void hostGamePressed() {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
App.game = new Event(false, currentMapIndex);
|
|
|
|
App.game = new Event(false, currentMapIndex);
|
|
|
|
|
|
|
|
App.gameType = currentMapIndex;
|
|
|
|
connectSocket("localhost", 4942);
|
|
|
|
connectSocket("localhost", 4942);
|
|
|
|
} catch (EventConstructionException e) {
|
|
|
|
} catch (EventConstructionException e) {
|
|
|
|
Logger.getGlobal().log(Level.SEVERE, "Could not create Event.", e);
|
|
|
|
Logger.getGlobal().log(Level.SEVERE, "Could not create Event.", e);
|
|
|
|
|