Merge branch 'develop' of https://github.com/antopilo/Nuake into develop

This commit is contained in:
Antoine Pilote
2024-09-03 18:48:10 -04:00
2 changed files with 3 additions and 1 deletions

View File

@@ -269,7 +269,7 @@ namespace Nuake
for (const auto& e : view)
{
auto& map = view.get<QuakeMapComponent>(e);
if (map.AutoRebuild && !map.Path.empty())
if (map.AutoRebuild && !map.Path.empty() && FileSystem::FileExists(map.Path))
{
if (auto file = FileSystem::GetFile(map.Path); file->IsValid() && file->GetHasBeenModified())
{