fix: Building issues with the web build
This commit is contained in:
parent
e22424ffa4
commit
f0525d6463
@ -107,6 +107,8 @@ namespace hex {
|
|||||||
if (!s_settings.isValid())
|
if (!s_settings.isValid())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
const auto &settingsData = *s_settings;
|
||||||
|
|
||||||
// During a crash settings can be empty, causing them to be overwritten.
|
// During a crash settings can be empty, causing them to be overwritten.
|
||||||
if (settingsData.empty()) {
|
if (settingsData.empty()) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user