diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/esieequest/view/text/FileReader.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/esieequest/view/text/FileReader.java b/src/esieequest/view/text/FileReader.java index 0bf3d3d..f063a69 100644 --- a/src/esieequest/view/text/FileReader.java +++ b/src/esieequest/view/text/FileReader.java | |||
@@ -34,7 +34,9 @@ public class FileReader extends TextInterface { | |||
34 | while (this.running && scanner.hasNextLine()) { | 34 | while (this.running && scanner.hasNextLine()) { |
35 | String line = scanner.nextLine(); | 35 | String line = scanner.nextLine(); |
36 | System.out.println("> " + line); | 36 | System.out.println("> " + line); |
37 | this.gameEngine.interpret(line); | 37 | if (!line.startsWith("//")) { |
38 | this.gameEngine.interpret(line); | ||
39 | } | ||
38 | } | 40 | } |
39 | scanner.close(); | 41 | scanner.close(); |
40 | } catch (FileNotFoundException exception) { | 42 | } catch (FileNotFoundException exception) { |