I noticed my map resetting to the current zone at seemingly random moments. It took me some time to figure out that GuildFu might be causing this.
Using DevTools' event-trace I noticed that every 15 seconds a GUILD_ROSTER_UPDATE event is fired, immediately followed by a WORLD_MAP_UPDATE. When disabling GuildFu, the map does not reset; I've left it open zoomed on another zone for over 10 minutes. But when GuildFu is active, it keeps resetting every 15 seconds.
The ScheduleRepeatingEvent command on line 76 certainly has something to do with it; when I comment it, the map works fine (well, except for GuildFu no longer updating ofcourse).
Disabling the update event handlers doesn't change anything: with just empty OnDataUpdate, OnTextUpdate and OnTooltipUpdate event handlers the map still resets every 15 seconds.
I suspect any library may be responsible for this behaviour, but I've been unable to track it down further... Could you assist in this? |