Skip to content

Commit 133ddf3

Browse files
committed
Ensure that initial room is printed
1 parent 74dd44e commit 133ddf3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

meeting2/modules/game.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ int main() {
5858
third->west = first;
5959

6060
room_t *current_room = first;
61+
print_room(current_room);
6162
// `man 3 fgets` and `man 3 stdin` for info
6263
while (fgets(input, BUF_SIZE, stdin) != NULL) {
6364
current_room = handleCommand(input, current_room);

0 commit comments

Comments
 (0)