aboutsummaryrefslogtreecommitdiff
path: root/game.c
diff options
context:
space:
mode:
Diffstat (limited to 'game.c')
-rw-r--r--game.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/game.c b/game.c
index 7eebb8b..f5edb8a 100644
--- a/game.c
+++ b/game.c
@@ -176,11 +176,12 @@ static void gameplay_update(Game* game) {
update_player(player, world);
enemy_system(world);
+ debris_system(world);
bullet_system(world);
collision_system(world);
animation_system(world);
- render_map(&world->map, cx, cy);
update_camera(player, world);
+ render_map(&world->map, cx, cy);
sprite_system(world);
render_hud(game);