From 2c55de1b958c9e1cda4ea96ff9895ad50a6ad4db Mon Sep 17 00:00:00 2001 From: Yousef Khadadeh Date: Sun, 8 Feb 2026 20:54:44 +0300 Subject: [PATCH] Fixed mistake in ifdef --- src/World.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/World.cpp b/src/World.cpp index 80dfa6d..ddf3ffb 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -489,7 +489,7 @@ bool World::should_ask_before_closing() { // If it's a server or a client, and the previous statement is false, we should always ask before quitting because the data could be modified by someone on the network // If it's a local file, ask before quitting if we detect any local changes // If on web version, don't ask before closing -#ifdef __EMCSRIPTEN__ +#ifdef __EMSCRIPTEN__ return false; #else if(netClient || netServer)