Fixed an issue for map_drops.yml (#7735)

The key for umap should be the index, to allow to define the same item in yaml file
This commit is contained in:
Atemo
2023-04-26 23:35:24 +02:00
committed by GitHub
parent 6308b4feaf
commit 84bf6b87f1

View File

@@ -6545,7 +6545,7 @@ bool MapDropDatabase::parseDrop( const ryml::NodeRef& node, std::unordered_map<u
}
if( !exists ){
drops[drop->nameid] = drop;
drops[index] = drop;
}
return true;