Quantcast

Attempted sound fix. Not yet resolved.

Cilcraft [07-20-16 - 04:30]
Attempted sound fix. Not yet resolved.
Filename
CHANGELOG.txt
PortraitHealth.lua
PortraitHealth.toc
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