1
0
mirror of https://github.com/inf112-v20/Fiasko.git synced 2025-03-05 01:29:47 +01:00

la til info i konstuktøren

This commit is contained in:
Tobydrama 2020-04-06 17:11:51 +02:00
parent 3f4387a525
commit dd9a8f6dbd

@ -43,7 +43,7 @@ public class StartMenuScreen extends AbstractScreen {
public boolean touchDown (InputEvent event, float x, float y, int pointer, int button) {
try {
roboRallyWrapper.server = new RoboRallyServer();
roboRallyWrapper.client = new RoboRallyClient("127.0.0.1");
roboRallyWrapper.client = new RoboRallyClient("127.0.0.1",roboRallyWrapper);
roboRallyWrapper.setScreen(roboRallyWrapper.screenManager.getUsernameScreen(roboRallyWrapper));
} catch (IOException e) {
e.printStackTrace();