Core/ResourceSaver: Remove leading point (".obj" => "obj")

This commit is contained in:
Lynix 2022-01-20 16:51:07 +01:00
parent 1406c714ac
commit b917738ed4
1 changed files with 3 additions and 0 deletions

View File

@ -72,6 +72,9 @@ namespace Nz
return false;
}
if (extension[0] == '.')
extension.erase(extension.begin());
bool found = false;
for (const auto& saverPtr : m_savers)
{