From ae0914e2593d742f83302959190a0801dd2233f2 Mon Sep 17 00:00:00 2001 From: Peter Eliasson Date: Sat, 17 Jan 2015 13:52:52 +0100 Subject: [PATCH] Using the curse keyword substitution to grab version, hide debug. --- GuildSkadaHighScore.toc | 3 ++- src/main.lua | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/GuildSkadaHighScore.toc b/GuildSkadaHighScore.toc index 6a885af..abb6a67 100644 --- a/GuildSkadaHighScore.toc +++ b/GuildSkadaHighScore.toc @@ -1,10 +1,11 @@ ## Interface: 60000 ## Author: Verath (Peter Eliasson) -## Version: 0.0.4 +## Version: @project-version@ ## Title: Guild Skada High Score ## Notes: Tracking and ranking of dps/hps in a guild. ## SavedVariables: GuildSkadaHighScoreDB ## Dependencies: +## OptionalDeps: Ace3 lib\lib_include.xml src\src_include.xml diff --git a/src/main.lua b/src/main.lua index c9360a7..197cd99 100644 --- a/src/main.lua +++ b/src/main.lua @@ -29,8 +29,11 @@ addon.dbDefaults = { addon.dbVersion = 2 -- Constants -DEBUG_PRINT = true; +DEBUG_PRINT = false; DEBUG_LOG = false; +--@debug@ +DEBUG_PRINT = true; +--@end-debug@ MAX_NUM_DEBUG_LOG_ENTRIES = 300; local function getDifficultyNameById(difficultyId) -- 1.7.9.5