fix: Building issues with the web build

This commit is contained in:
WerWolv
2024-12-30 10:10:38 +01:00
parent e22424ffa4
commit f0525d6463

View File

@@ -107,6 +107,8 @@ namespace hex {
if (!s_settings.isValid())
return;
const auto &settingsData = *s_settings;
// During a crash settings can be empty, causing them to be overwritten.
if (settingsData.empty()) {
return;