Mercurial > wow > worldplan
comparison WorldPlan.lua @ 70:bb2baedae81f
debugging tool for the mystery of disappearing quests
author | Nenue |
---|---|
date | Wed, 05 Apr 2017 12:12:41 -0400 |
parents | 31de7e9e7849 |
children | 6db0b9696936 |
comparison
equal
deleted
inserted
replaced
69:31de7e9e7849 | 70:bb2baedae81f |
---|---|
537 else | 537 else |
538 self:print('WorldPlanSummary:Refresh(true)') | 538 self:print('WorldPlanSummary:Refresh(true)') |
539 WorldPlanSummary:Refresh(true) | 539 WorldPlanSummary:Refresh(true) |
540 end | 540 end |
541 elseif arg1 == 'log' then | 541 elseif arg1 == 'log' then |
542 WorldPlanDebug:SetShown(true) | 542 if WorldPlanDebug:IsShown() then |
543 WorldPlanDebug:SetShown(false) | |
544 else | |
545 WorldPlanDebug:SetShown(true) | |
546 end | |
543 elseif arg1 == 'debug' then | 547 elseif arg1 == 'debug' then |
544 if WorldPlanData then | 548 if WorldPlanData then |
545 WorldPlanData.DebugEnabled = (not WorldPlanData.DebugEnabled) | 549 WorldPlanData.DebugEnabled = (not WorldPlanData.DebugEnabled) |
546 self:print(WorldPlanData.DebugEnabled and "Debugger on." or "Debugger off.") | 550 self:print(WorldPlanData.DebugEnabled and "Debugger on." or "Debugger off.") |
547 end | 551 end |