From 29f3fe70aeb5f566864c7868f7c89483547e92b4 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Tue, 13 May 2014 14:42:20 +1000 Subject: Extantz calls love, and love calls LuaSL, and clean out the need for scripts to twiddle the Lua paths. --- src/love/love.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/love') diff --git a/src/love/love.c b/src/love/love.c index b0d1c05..6a3cdaa 100644 --- a/src/love/love.c +++ b/src/love/love.c @@ -11,6 +11,8 @@ Dedicated to my girl Boots, coz she means the world to me. #include #include +#include + #include "LumbrJack.h" #include "Runnr.h" @@ -377,6 +379,11 @@ int main(int argc, char **argv) char *programName = argv[0]; boolean badArgs = FALSE; int result = EXIT_FAILURE; + char buf[PATH_MAX]; + + sprintf(buf, "%s/LuaSL &", PACKAGE_BIN_DIR); + system(buf); + sleep(1); memset(&ourGlobals, 0, sizeof(gameGlobals)); ourGlobals.address = "127.0.0.1"; -- cgit v1.1