Commit c502b194 authored by Stefan Michel's avatar Stefan Michel

kleinere anpassungen, codeterrain inhalt immernoch null

parent 73ac31f9
#role=tutor or student
role=student
tutorhost=localhost
tutorport=3579
\ No newline at end of file
......@@ -202,7 +202,7 @@ public class MainViewCreationFX extends VBox implements Observer {
private Menu buildTutorMenu() {
MenuItem anfrageLaden = new MenuItem("Anfrage _laden");
anfrageLaden.setOnAction(event -> {
CodeTerrain codeTerrain = networkManager.getRequest();
CodeTerrain codeTerrain = networkManager.loadRequest();
textArea.setText(codeTerrain.getCode());
terrainController.loadTerrainFromString(codeTerrain.getTerrain());
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment