Skada Damage Meter

25 - skadda tried to index db a nil value

What is the issue?

missing self for db.mode and db.set in skadda.lua in libe 1577 and 1578

Please provide any additional information below.

Original code:


-- Set this mode as the active mode if it matches the saved one.
-- Bit of a hack.
for i, win in ipairs(windows) do
if mode.name == db.mode then
self:RestoreView(win, db.set, mode.name)
end
end

Modified code:

-- Set this mode as the active mode if it matches the saved one.
-- Bit of a hack.
for i, win in ipairs(windows) do
if mode.name == self.db.mode then
self:RestoreView(win, self.db.set, mode.name)
end
end

Edit: forgot to say that this is in r137 version.

User When Change
Zarnivoop Mar 14, 2009 at 14:32 UTC Changed status from New to Fixed
whynona2 Mar 14, 2009 at 14:25 UTC Changed description:
  		end
  	end
  </pre>
+
+ Edit: forgot to say that this is in r137 version.
whynona2 Mar 14, 2009 at 14:22 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 1 comment
  • 1 comment

Facts

Last updated
Mar 14, 2009
Reported
Mar 14, 2009
Status
Fixed - Developer made requested changes. QA should verify.
Type
Other - Some other kind of issue
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees