diff ReAction.lua @ 243:0ea0cdd7f386

fix silly drycoding errors
author Flick
date Sat, 26 Mar 2011 11:31:01 -0700
parents b56cff349bd6
children 47818b3938c9
line wrap: on
line diff
--- a/ReAction.lua	Fri Mar 25 17:06:56 2011 -0700
+++ b/ReAction.lua	Sat Mar 26 11:31:01 2011 -0700
@@ -132,11 +132,11 @@
   end
 end
 
-function module:UPDATE_SHAPESHIFT_FORMS()
+function ReAction:UPDATE_SHAPESHIFT_FORMS()
   -- Re-parse the rules table according to the new form list.
   -- This happens both at initial login (after PLAYER_ENTERING_WORLD)
   -- as well as when gaining new abilities. 
-  ReAction.Bar:InitRuleFormats()
+  self.Bar:InitRuleFormats()
   for _, bar in self:IterateBars() do
     bar:ApplyStates()
   end