From f97b6a78f5edbe3ef121b1d43a54b2cda50c6cea Mon Sep 17 00:00:00 2001 From: Cilcraft Date: Tue, 19 Jul 2016 22:30:01 -0600 Subject: [PATCH] Attempted sound fix. Not yet resolved. --- CHANGELOG.txt | 3 +++ PortraitHealth.lua | 6 +++--- PortraitHealth.toc | 6 ++---- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 3750087..a40aa12 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,3 +1,6 @@ +v4.0.1 + - fixed an issue with execute sound playing too much + v4.0 - Demon Hunter additions - PTR bugs diff --git a/PortraitHealth.lua b/PortraitHealth.lua index de4d29e..01ca7b0 100755 --- a/PortraitHealth.lua +++ b/PortraitHealth.lua @@ -4,11 +4,11 @@ local classDisplayName, class, classID = UnitClass("player"); -- ** local PlayerClass = classID; -- this code and variables local PlayerClassName = classDisplayName; -- could be redundant. fix later. local PlayerClassNameIndex = class; -- ** -local PH_v = '4.0'; -- version number +local PH_v = '4.0.1'; -- version number local limit1 = 0; -- limiter for sounds local executeSound = "Sound\\interface\\AuctionWindowClose.ogg"; -local total = 0 -- timer start -local done = 0 -- toggle for timer repeat +local total = 0; -- timer start +local done = 0; -- toggle for timer repeat -- check for sound enabled if PH_sound == nil then diff --git a/PortraitHealth.toc b/PortraitHealth.toc index 924b5c0..0a24075 100755 --- a/PortraitHealth.toc +++ b/PortraitHealth.toc @@ -2,9 +2,7 @@ ## Title: Portrait Health ## Notes: See your target's health percentage in bold text over their portrait. ## Author: Cilcraft -## Version: 4.0 -##SavedVariablesPerCharacter: PH_sound, PH_on +## Version: 4.0.1 +## SavedVariablesPerCharacter: PH_sound, PH_on PortraitHealth.lua PortraitHealth.xml -PortraitHealthConfig.lua -PortraitHealthConfig.xml -- 1.7.9.5