diff --git a/desktop_version/src/BinaryBlob.cpp b/desktop_version/src/BinaryBlob.cpp index 1f52304d..1ddea512 100644 --- a/desktop_version/src/BinaryBlob.cpp +++ b/desktop_version/src/BinaryBlob.cpp @@ -147,7 +147,7 @@ int binaryBlob::getIndex(const char* _name) { for (size_t i = 0; i < SDL_arraysize(m_headers); i += 1) { - if (strcmp(_name, m_headers[i].name) == 0) + if (strcmp(_name, m_headers[i].name) == 0 && m_headers[i].valid) { return i; }