From bd1881957b544d3e40c958a8d389120c19d1a1ba Mon Sep 17 00:00:00 2001 From: Peppersawce <157759066+Peppersawce@users.noreply.github.com> Date: Wed, 23 Oct 2024 17:56:18 +0200 Subject: [PATCH] Update paths.cpp --- Source/utils/paths.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/utils/paths.cpp b/Source/utils/paths.cpp index a3749ebd617..546c207d415 100644 --- a/Source/utils/paths.cpp +++ b/Source/utils/paths.cpp @@ -124,8 +124,7 @@ const std::string &AssetsPath() find_directory(B_SYSTEM_DATA_DIRECTORY, dev_for_path("/boot"), false, buffer, B_PATH_NAME_LENGTH); strcat(buffer, "/devilutionx/"); assetsPath.emplace(strdup(buffer)); -#endif -#if __EMSCRIPTEN__ +#elif __EMSCRIPTEN__ assetsPath.emplace("assets/"); #elif defined(NXDK) assetsPath.emplace("D:\\assets\\");