Invoke can now only invoke method in class 'invoke', likewise for 'probe'
This commit is contained in:
@@ -29,9 +29,10 @@
|
||||
--
|
||||
----------------------------------------------------------------
|
||||
|
||||
makeclass('engio')
|
||||
makeclass('probe')
|
||||
makeclass('invoke')
|
||||
|
||||
function engio.gethotkeys()
|
||||
function probe.gethotkeys()
|
||||
local class = tangible.getclass(place)
|
||||
|
||||
-- if the tangible doesn't have a 'lookhotkeys' function, do nothing
|
||||
@@ -48,7 +49,7 @@ function engio.gethotkeys()
|
||||
return keys
|
||||
end
|
||||
|
||||
function engio.presshotkey(pressed)
|
||||
function invoke.presshotkey(pressed)
|
||||
local class = tangible.getclass(place)
|
||||
|
||||
-- if the tangible doesn't have a 'lookhotkeys' function, do nothing
|
||||
|
||||
Reference in New Issue
Block a user