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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -852,7 +852,7 @@ void Doors::CreateDatabaseEntry()
const auto& l = DoorsRepository::GetWhere(
content_db,
fmt::format(
"zone = '{}' AND version = {} AND doorid = {}",
"zone = '{}' AND (version = {} OR version = -1) AND doorid = {}",
zone->GetShortName(),
zone->GetInstanceVersion(),
GetDoorID()