From e420ee51b1f8441be074d23a21d10770b5184de1 Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Tue, 14 Aug 2012 13:14:49 +0100 Subject: [PATCH] Lua autorun, fixes #99 --- src/cat/LuaScriptInterface.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cat/LuaScriptInterface.cpp b/src/cat/LuaScriptInterface.cpp index b37633dbe..14b2bf1ec 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)