Update doors.cpp

This commit is contained in:
Chris Miles
2025-06-09 12:43:22 -05:00
committed by GitHub
parent 284bb4eb8d
commit 9731372f38
+1 -1
View File
@@ -852,7 +852,7 @@ void Doors::CreateDatabaseEntry()
const auto& l = DoorsRepository::GetWhere( const auto& l = DoorsRepository::GetWhere(
content_db, content_db,
fmt::format( fmt::format(
"zone = '{}' AND version = {} AND doorid = {}", "zone = '{}' AND (version = {} OR version = -1) AND doorid = {}",
zone->GetShortName(), zone->GetShortName(),
zone->GetInstanceVersion(), zone->GetInstanceVersion(),
GetDoorID() GetDoorID()