aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_death_screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_death_screen.c')
-rw-r--r--src/ft_death_screen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ft_death_screen.c b/src/ft_death_screen.c
index 30bed48..e860c56 100644
--- a/src/ft_death_screen.c
+++ b/src/ft_death_screen.c
@@ -65,8 +65,7 @@ void
mlx_put_image_to_window(cl->wlist.wlx, cl->wlist.winptr,
cl->img.img, 0, 0);
ft_hooks_and_loops(&cl->wlist, cl);
+ sleep(8);
mlx_destroy_image(cl->wlist.wlx, cl->img.img);
mlx_destroy_image(cl->wlist.wlx, cl->death_screen.img);
- while (1)
- sleep(4);
}