Quantcast

clean up code

Scott King [07-19-16 - 03:56]
clean up code
Filename
PortraitHealth.lua
diff --git a/PortraitHealth.lua b/PortraitHealth.lua
index fd9b219..89265ce 100755
--- a/PortraitHealth.lua
+++ b/PortraitHealth.lua
@@ -1,9 +1,9 @@
 -- Global information

-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 classDisplayName, class, classID = UnitClass("player");
+local PlayerClass = classID;
+local PlayerClassName = classDisplayName;
+local PlayerClassNameIndex = class;
 local PH_v = '4.0'; -- version number
 local limit1 = 0; -- limiter for sounds
 local executeSound = "Sound\\interface\\AuctionWindowClose.ogg";