1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00
luanti/src/content
JosiahWI 4125ce877d
Do not discover mod directories that fail parsing (#15917)
The root issue of the unit test failure is that all directories that are found in the mod search are counted as mods, even if they are detected to be invalid as such by the parser. For example, the presence of an init.lua file is required, and the parser will return false if one is not found. This return value was completely ignored. Simply counting the mod conditionally on the parsing success makes the modserver tests pass on MSVC.
2025-03-19 18:43:19 +01:00
..
CMakeLists.txt Refactor ModConfiguration 2022-07-14 22:12:54 +01:00
content.cpp Replace licensing text in headers (LGPLv2.1) (#15321) 2024-10-28 15:57:39 +01:00
content.h Reduce irrlicht_extrabloated.h includes in header files 2025-01-04 12:39:34 +01:00
mod_configuration.cpp Don't save load_mod_* = false lines in world.mt (#15758) 2025-02-14 22:25:39 +01:00
mod_configuration.h Replace licensing text in headers (LGPLv2.1) (#15321) 2024-10-28 15:57:39 +01:00
mods.cpp Do not discover mod directories that fail parsing (#15917) 2025-03-19 18:43:19 +01:00
mods.h Do not discover mod directories that fail parsing (#15917) 2025-03-19 18:43:19 +01:00
subgames.cpp Move EnumString to separate file and add enum_to_string (#15714) 2025-01-26 19:17:14 +01:00
subgames.h Replace licensing text in headers (LGPLv2.1) (#15321) 2024-10-28 15:57:39 +01:00