Skip to content

Commit

Permalink
GO/Scripts: Fix error due to newly added chair script event
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Mar 25, 2024
1 parent d9dc1e1 commit 91d0b5b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/game/DBScripts/ScriptMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3365,6 +3365,9 @@ void ScriptMgr::CollectPossibleEventIds(std::set<uint32>& eventIds)
{
switch (itr->type)
{
case GAMEOBJECT_TYPE_CHAIR:
eventIds.insert(itr->chair.triggeredEvent);
break;
case GAMEOBJECT_TYPE_GOOBER:
eventIds.insert(itr->goober.eventId);
break;
Expand Down

0 comments on commit 91d0b5b

Please sign in to comment.