Fixed mistake in ifdef
This commit is contained in:
parent
994301c294
commit
2c55de1b95
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue