Quantcast

Fixes 1x GarrisonCommander\FollowerCache.lua:202: attempt to call method

Alar of Daggerspine [06-24-15 - 10:44]
Fixes 1x GarrisonCommander\FollowerCache.lua:202: attempt to call method
'refresh' (a nil value)

Signed-off-by: Alar of Daggerspine <alar@aspide.it>
Filename
FollowerCache.lua
diff --git a/FollowerCache.lua b/FollowerCache.lua
index fd98eb3..bd163b2 100644
--- a/FollowerCache.lua
+++ b/FollowerCache.lua
@@ -199,7 +199,7 @@ function cache:GetFollowersWithTrait(trait)
 	return self.traits[trait]
 end
 function cache:GetFollowersWithCounterFor(threat)
-	self:refresh()
+	self:Refresh()
 	return self.threats[threat]
 end