Skip to content

Commit

Permalink
SpawnGroup/WorldState: Fix looking for worldstate_name in wrong db
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Apr 24, 2022
1 parent 96d0af8 commit 7b178e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/Globals/ObjectMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5844,7 +5844,7 @@ void ObjectMgr::LoadWorldTemplate()

void ObjectMgr::LoadWorldStateNames()
{
std::unique_ptr<QueryResult> result(CharacterDatabase.Query("SELECT Id, Name FROM worldstate_name"));
std::unique_ptr<QueryResult> result(WorldDatabase.Query("SELECT Id, Name FROM worldstate_name"));

uint32 count = 0;

Expand Down

0 comments on commit 7b178e4

Please sign in to comment.