diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2011-06-08 15:30:36 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2011-06-08 15:30:36 (GMT) |
| commit | 3ea25c83b7dc039b23af2eeb4279a046fa0bf259 (patch) | |
| tree | 2e665e8b179bc44c266c0aa090384bd2ba93fd37 /src/main.c | |
| parent | e94ed7bc113c42a3f8541aa6031f38ab6ddf8063 (diff) | |
| download | powder-3ea25c83b7dc039b23af2eeb4279a046fa0bf259.zip powder-3ea25c83b7dc039b23af2eeb4279a046fa0bf259.tar.gz | |
message_box and input for Lua API, also autorun.lua
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1741,6 +1741,9 @@ int main(int argc, char *argv[]) http_session_check = http_async_req_start(NULL, "http://" SERVER "/Login.api?Action=CheckSession", NULL, 0, 0); http_auth_headers(http_session_check, svf_user_id, NULL, svf_session_id); } +#ifdef LUACONSOLE + luacon_eval("dofile(\"autorun.lua\")"); //Autorun lua script +#endif while (!sdl_poll()) //the main loop { frameidx++; |
