From 1c302e10323e5d6661a61da05be4e9fdc87a7b65 Mon Sep 17 00:00:00 2001 From: nemo Date: Wed, 25 Sep 2024 15:10:42 +0200 Subject: [PATCH] remove escape key to exit --- main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.c b/main.c index cbb6888..da1caa0 100644 --- a/main.c +++ b/main.c @@ -43,6 +43,10 @@ int main(void) SetWindowState(FLAG_WINDOW_RESIZABLE); SetTargetFPS(60); +#ifdef RELEASE + SetExitKey(KEY_NULL); +#endif + Map map = { .texture = LoadTexture("data/map2.png"), .box = (Rectangle) {