la til ekstra info i konstruktøren

This commit is contained in:
Tobydrama 2020-04-06 17:13:21 +02:00
parent c3604b9730
commit 12605fedfb

View File

@ -39,7 +39,7 @@ public class IPAddressScreen extends AbstractScreen {
@Override
public void touchUp(InputEvent e, float x, float y, int point, int button){
try {
roboRallyWrapper.client = new RoboRallyClient(txtinput.getText());
roboRallyWrapper.client = new RoboRallyClient(txtinput.getText(),roboRallyWrapper);
roboRallyWrapper.setScreen(roboRallyWrapper.screenManager.getUsernameScreen(roboRallyWrapper));
} catch (IOException ex) {
ex.printStackTrace();