Setup/Update

* reapply flags for community content when rebuilding DB
   fixes associated filters and meta page 'missing screenshots'
This commit is contained in:
Sarjuuk
2022-03-03 18:55:04 +01:00
parent 33ec14f232
commit 73c1118601
22 changed files with 57 additions and 0 deletions

View File

@@ -260,6 +260,8 @@ SqlGen::register(new class extends SetupScript
// dungeon quests to Misc/Dungeon Finder
DB::Aowow()->query('UPDATE ?_quests SET zoneOrSort = ?d WHERE (specialFlags & ?d OR id IN (?a)){ AND id IN (?a)}', -1010, QUEST_FLAG_SPECIAL_DUNGEON_FINDER, [24789, 24791, 24923], $ids ?: DBSIMPLE_SKIP);
$this->reapplyCCFlags('quests', TYPE_QUEST);
return true;
}
});