From 53e0e821cdc382d4fcfeb2b8ad46fe4667abbb01 Mon Sep 17 00:00:00 2001 From: Kevin Lyles Date: Mon, 14 Jun 2010 18:11:04 -0500 Subject: [PATCH] Fixed nil error on creating a new weight, bumped to version 1.2b8 --- WeightsWatcher.toc | 2 +- weights.lua | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/WeightsWatcher.toc b/WeightsWatcher.toc index caeda1c..93388ee 100644 --- a/WeightsWatcher.toc +++ b/WeightsWatcher.toc @@ -2,7 +2,7 @@ ## Title: Weights Watcher ## Notes: Ranks gear according to customizable stat weights ## Author: The Flying Squirrels -## Version: 1.2b7 +## Version: 1.2b8 ## OptionalDeps: AtlasLoot ## SavedVariables: ww_vars ## SavedVariablesPerCharacter: ww_charVars diff --git a/weights.lua b/weights.lua index 1ba78e4..7a674f4 100644 --- a/weights.lua +++ b/weights.lua @@ -383,7 +383,9 @@ function configNewWeight(class, weight, statList) ww_newWeight.editBox:SetText(weight) end if not statList then - statList = {} + statList = { + triggers = {} + } end ww_newWeight.statList = statList end) -- 1.7.9.5