diff options
Diffstat (limited to 'server/src/vm/source.lua')
-rw-r--r-- | server/src/vm/source.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/server/src/vm/source.lua b/server/src/vm/source.lua index 6685b95f..a06b8e8a 100644 --- a/server/src/vm/source.lua +++ b/server/src/vm/source.lua @@ -40,6 +40,15 @@ function mt:bindValue(value, action) end end +function mt:bindCall(func, args) + if func then + self._bindCall = func + self._bindCallArgs = args + else + return self._bindCall, self._bindCallArgs + end +end + function mt:action() return self._action end |