diff options
Diffstat (limited to 'server/src/vm/source.lua')
-rw-r--r-- | server/src/vm/source.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/src/vm/source.lua b/server/src/vm/source.lua index a4839c69..5406298b 100644 --- a/server/src/vm/source.lua +++ b/server/src/vm/source.lua @@ -10,9 +10,11 @@ function mt:bindLocal(loc) end end -function mt:bindLabel(label) +function mt:bindLabel(label, action) if label then self._bindLabel = label + self._action = action + label:addInfo(action, self) else return self._bindLabel end |