Mercurial > wow > whistle-master
changeset 8:e7f7baf8475f
Fix for LDB plugin displaying wrong info when not in the broken isles
author | Vynn <mischivin@gmail.com> |
---|---|
date | Sun, 06 Nov 2016 01:12:18 -0400 |
parents | bfd040e221bb |
children | 148e87d347f5 |
files | WhistleMaster_LDB.lua |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/WhistleMaster_LDB.lua Sat Nov 05 23:57:16 2016 -0400 +++ b/WhistleMaster_LDB.lua Sun Nov 06 01:12:18 2016 -0400 @@ -15,8 +15,11 @@ elapsed = elapsed + elap if elapsed < UPDATEPERIOD then return end elapsed = 0 - - dataobj.text = WM_ClosestNode.name + if UpdateWhistleMaster() then + dataobj.text = WM_ClosestNode.name + else + dataobj.txt = "N/A" + end end)