Skip to content

Commit

Permalink
Properly set the clickcallback for the flash function
Browse files Browse the repository at this point in the history
  • Loading branch information
demonnic committed Sep 14, 2019
1 parent 386cb4d commit 6472438
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mudlet-lua/lua/geyser/GeyserContainer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@ function Geyser.Container:flash (time)
resizeWindow(name, width, height)
moveWindow(name, x, y)
setBackgroundColor(name, 190, 190, 190, 128)
if self.callback then
setLabelClickCallback(name, self.callback, unpack(self.args))
if self.clickCallback then
setLabelClickCallback(name, self.clickCallback, unpack(self.clickArgs))
end
showWindow(name)
tempTimer(time, "hideWindow(\"" .. name .. "\")")
Expand Down

0 comments on commit 6472438

Please sign in to comment.