summaryrefslogtreecommitdiff
path: root/src/scripting/luascript.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripting/luascript.h')
-rw-r--r--src/scripting/luascript.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/scripting/luascript.h b/src/scripting/luascript.h
index 9515bf0e..3bedbc28 100644
--- a/src/scripting/luascript.h
+++ b/src/scripting/luascript.h
@@ -44,7 +44,8 @@ class LuaScript : public Script
~LuaScript();
- void load(const char *prog, const char *name);
+ void load(const char *prog, const char *name,
+ const Context &context = Context());
Thread *newThread();
@@ -60,7 +61,7 @@ class LuaScript : public Script
void push(const std::list<InventoryItem> &itemList);
- int execute();
+ int execute(const Context &context = Context());
bool resume();