[Maps]: Make local var const

This commit is contained in:
FutureRave 2023-03-17 22:40:52 +00:00
parent 9a4037bed0
commit dd942fcfde
No known key found for this signature in database
GPG Key ID: 22F9079C86CFAB31

View File

@ -619,8 +619,8 @@ namespace Components
{ {
if (entry.is_directory()) if (entry.is_directory())
{ {
auto zoneName = entry.path().filename().string(); const auto zoneName = entry.path().filename().string();
auto mapPath = std::format("{}\\{}.ff", entry.path().string(), zoneName); const auto mapPath = std::format("{}\\{}.ff", entry.path().string(), zoneName);
if (Utils::IO::FileExists(mapPath)) if (Utils::IO::FileExists(mapPath))
{ {
FoundCustomMaps.push_back(zoneName); FoundCustomMaps.push_back(zoneName);