sound and other misc fixes
This commit is contained in:
parent
38eaba2fa6
commit
176216df8e
6 changed files with 97 additions and 15 deletions
|
|
@ -6,6 +6,10 @@
|
|||
Dialogable = {}
|
||||
|
||||
function Dialogable:onBump()
|
||||
if self.book then Dialogue.open(self.book) end
|
||||
if self.book then
|
||||
local wasOpen = Dialogue.isOpen()
|
||||
Dialogue.open(self.book)
|
||||
if Sound and not wasOpen then Sound.jabber() end
|
||||
end
|
||||
return true
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue