Merge pull request #41 from antopilo/NK-114-creating-prefab-doesnt-add-prefab

NK-114 - Creating Prefab without extension doesn't add .prefab
This commit is contained in:
émeryc
2023-07-22 00:37:03 -04:00
committed by GitHub
2 changed files with 13 additions and 3 deletions

View File

@@ -247,7 +247,7 @@ namespace Nuake
path += ".material";
}
if (path != "")
if (!path.empty())
{
Ref<Material> material = CreateRef<Material>();
material->IsEmbedded = false;