From c65f691ec231a2e5cbdf1bdeca2db04d063115c5 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 13 May 2020 22:10:02 +0200 Subject: Added music to the main story --- src/ft_click_close.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/ft_click_close.c') diff --git a/src/ft_click_close.c b/src/ft_click_close.c index 113c241..6ed7b37 100644 --- a/src/ft_click_close.c +++ b/src/ft_click_close.c @@ -19,7 +19,5 @@ int ft_click_close(int keycode, t_cub *clist) { (void)keycode; - (void)clist; - exit(0); - return (0); + return (ft_exit(0, clist)); } -- cgit v1.2.3