Skip to content

Commit

Permalink
feat: draw after recieving input as well
Browse files Browse the repository at this point in the history
  • Loading branch information
kiedtl committed Sep 6, 2023
1 parent 0c7e7b4 commit 1af9750
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.zig
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,7 @@ fn tickGame(p_cur_level: ?usize) !void {
ui.draw();
if (state.state == .Quit) break;
while (!try readInput()) ui.drawAnimations();
ui.draw();
if (state.state == .Quit) break;
} else {
ai.main(mob, state.GPA.allocator());
Expand Down

0 comments on commit 1af9750

Please sign in to comment.