Skip to content

Commit

Permalink
Merge pull request AY2425S1-CS2103T-T12-4#117 from Xczheng0105/EditGa…
Browse files Browse the repository at this point in the history
…meCommand

Fix a bug related to editing in a new game
  • Loading branch information
ChenLeiyu authored Oct 17, 2024
2 parents 4f519e7 + f34265e commit 1eca052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/seedu/address/logic/parser/ParserUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public static Game parseGame(String game) throws ParseException {
if (!Game.isValidGameName(trimmedGame)) {
throw new ParseException(Game.MESSAGE_CONSTRAINTS);
}
return new Game(trimmedGame);
return new Game(trimmedGame, new Username("tbc"), new SkillLevel("tbc"), new Role("tbc"));
}

/**
Expand Down

0 comments on commit 1eca052

Please sign in to comment.