# HG changeset patch # User Flick # Date 1250900789 0 # Node ID 363dd81302056b762bc42f849bebdb4d6921d511 # Parent ab5c37989986e5f0755429868c1f2c211ae91e6c minor tweak to facilitate picking up the bar when training Call of Elements diff -r ab5c37989986 -r 363dd8130205 modules/Totem.lua --- a/modules/Totem.lua Sat Aug 22 00:12:44 2009 +0000 +++ b/modules/Totem.lua Sat Aug 22 00:26:29 2009 +0000 @@ -89,7 +89,7 @@ if btnCfg[i] == nil then btnCfg[i] = {} end - if btns[i] == nil then + if not btns[i] then local success, r = pcall(Button.New,Button,i,btnCfg,bar) if success then btns[i] = r