mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-23 04:37:16 +00:00
[Hotfix] Faction associations file naming / lock consistency
This commit is contained in:
1 parent
d8134df679
commit
da4bcbf736
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -1507,7 +1507,7 @@ bool SharedDatabase::LoadFactionAssociation(const std::string &prefix)
|
||||
|
||||
try {
|
||||
auto Config = EQEmuConfig::get();
|
||||
EQ::IPCMutex mutex("factionassociation");
|
||||
EQ::IPCMutex mutex("factionassociations");
|
||||
mutex.Lock();
|
||||
std::string file_name = Config->SharedMemDir + prefix + std::string("factionassociation");
|
||||
faction_associations_mmf = std::unique_ptr<EQ::MemoryMappedFile>(new EQ::MemoryMappedFile(file_name));
|
||||
|
||||
Reference in new issue
Block a user