fixed
This commit is contained in:
parent
7c7f76b188
commit
a9af97925e
12 changed files with 329 additions and 30 deletions
|
|
@ -117,9 +117,9 @@ function GUI:onClic(button)
|
|||
print(button)
|
||||
print("hey!!! u cliced on me. my name is ", self.name, self.text)
|
||||
GUI.pressSound:play()
|
||||
if button == "l" then
|
||||
if button == 1 then
|
||||
self.clic:left()
|
||||
elseif button == "r" then
|
||||
elseif button == 2 then
|
||||
self.clic:right()
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue