diff --git a/src/main/java/io/rpg/wrapper/WrapperController.java b/src/main/java/io/rpg/wrapper/WrapperController.java index 3bb9d962..99844489 100644 --- a/src/main/java/io/rpg/wrapper/WrapperController.java +++ b/src/main/java/io/rpg/wrapper/WrapperController.java @@ -129,6 +129,7 @@ private Result loadGame(String path) { printLine("Initialization returned null value"); return Result.err(); } else { + game = initializationResult.getOk(); printLine("File was correctly loaded. Press START to begin game"); }