Quantcast

Missing a deltable

Alar of Runetotem [03-04-17 - 09:58]
Missing a deltable
Filename
GarrisonCommander.lua
diff --git a/GarrisonCommander.lua b/GarrisonCommander.lua
index 5c1c5a4..12b4d2a 100644
--- a/GarrisonCommander.lua
+++ b/GarrisonCommander.lua
@@ -2678,9 +2678,8 @@ function addon:AddRewards(frame, rewards, numRewards)
 		end
 		if extraItem then
 			self:DelTable(extraItem)
-			rewards.extraItem=nil
 		end
-
+		self:DelTable(rw)
 	end
 	for i = (numRewards + 1), #frame.Rewards do
 		frame.Rewards[i]:Hide();