mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-02 15:17:27 +01:00
Core/BG: use GetTypeID(true) instead of GetTypeID() to fetch the correct type even if it's a RGB
This commit is contained in:
@@ -764,7 +764,7 @@ void Battleground::EndBattleground(uint32 winner)
|
||||
{
|
||||
stmt->setUInt64(0, battleground_id);
|
||||
stmt->setUInt8(2, m_BracketId + 1);
|
||||
stmt->setUInt8(3, GetTypeID());
|
||||
stmt->setUInt8(3, GetTypeID(true));
|
||||
CharacterDatabase.Execute(stmt);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user