summaryrefslogtreecommitdiff
path: root/src/cat/LuaScriptInterface.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-08-14 12:14:49 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-14 12:14:49 (GMT)
commite420ee51b1f8441be074d23a21d10770b5184de1 (patch)
treee7d53c63ed59b99e380fcfb207d45706c83adde1 /src/cat/LuaScriptInterface.cpp
parentfed38185fd1a7afb215e15ebca5c46a4ccd6ee68 (diff)
downloadpowder-e420ee51b1f8441be074d23a21d10770b5184de1.zip
powder-e420ee51b1f8441be074d23a21d10770b5184de1.tar.gz
Lua autorun, fixes #99
Diffstat (limited to 'src/cat/LuaScriptInterface.cpp')
-rw-r--r--src/cat/LuaScriptInterface.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cat/LuaScriptInterface.cpp b/src/cat/LuaScriptInterface.cpp
index b37633d..14b2bf1 100644
--- a/src/cat/LuaScriptInterface.cpp
+++ b/src/cat/LuaScriptInterface.cpp
@@ -225,6 +225,8 @@ tpt.partsdata = nil");
lua_el_mode[i] = 0;
}
+ //Autorun
+ luacon_eval("dofile(\"autorun.lua\")"); //Autorun lua script
}
bool LuaScriptInterface::OnBrushChanged(int brushType, int rx, int ry)