mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
[Tasks] Use dz switch id for task touch events (#2344)
This changes task touch elements to use the dz_switch_id as the goal id instead of checking if a player zoned. It will remove the need to script door clicks or modify task element zone field since task packet data can just be imported.
This commit is contained in:
+1
-1
@@ -210,7 +210,7 @@ void Doors::HandleClick(Client* sender, uint8 trigger) {
|
||||
|
||||
if (m_dz_switch_id != 0)
|
||||
{
|
||||
// todo: update task touch task events with matching dz switch id
|
||||
sender->UpdateTasksOnTouchSwitch(m_dz_switch_id);
|
||||
if (sender->TryMovePCDynamicZoneSwitch(m_dz_switch_id))
|
||||
{
|
||||
safe_delete(outapp);
|
||||
|
||||
Reference in New Issue
Block a user