Fixed mistake in ifdef

This commit is contained in:
Yousef Khadadeh 2026-02-08 20:54:44 +03:00
parent 994301c294
commit 2c55de1b95

View file

@ -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)