Core/Scripts: Begin unifying triggering gameevents (not the game_event db stuff)
Port From (https://github.com/TrinityCore/TrinityCore/commit/41a04a0c496c8c0c521eeaa76e34fbeb531cc1d9)
This commit is contained in:
@@ -248,7 +248,7 @@ namespace Game.Movement
|
||||
if (eventid != 0)
|
||||
{
|
||||
Log.outDebug(LogFilter.MapsScript, $"FlightPathMovementGenerator::DoEventIfAny: taxi {(departure ? "departure" : "arrival")} event {eventid} of node {node.NodeIndex} of path {node.PathID} for player {owner.GetName()}");
|
||||
owner.GetMap().ScriptsStart(ScriptsType.Event, eventid, owner, owner);
|
||||
GameEvents.Trigger(eventid, owner, owner);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user