diff --git a/.gitignore b/.gitignore index 5292519..bd406d6 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ -logs/ \ No newline at end of file +logs/ +build/ +lib/lua \ No newline at end of file diff --git a/.gitmodules b/.gitmodules index 621d1ab..072af42 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,9 @@ [submodule "lib/love-gltf"] path = lib/love-gltf url = https://gitlab.com/Alloyed/love-gltf.git +[submodule "lib/luasocket"] + path = lib/luasocket + url = https://github.com/lunarmodules/luasocket +[submodule "lib/lua54"] + path = lib/lua54 + url = https://github.com/walterschell/Lua.git diff --git a/lib/lua54 b/lib/lua54 new file mode 160000 index 0000000..88246d6 --- /dev/null +++ b/lib/lua54 @@ -0,0 +1 @@ +Subproject commit 88246d621abf7b6fba9332f49229d507f020e450 diff --git a/lib/luasocket b/lib/luasocket new file mode 160000 index 0000000..8c2ff72 --- /dev/null +++ b/lib/luasocket @@ -0,0 +1 @@ +Subproject commit 8c2ff7217e2a205eb107a6f48b04ff1b2b3090a1 diff --git a/src/server.lua b/src/server.lua index 335346e..33310a0 100644 --- a/src/server.lua +++ b/src/server.lua @@ -1,3 +1,4 @@ +package.path = package.path .. "." local shared = assert( require 'shared' ) local socket = assert( require 'socket' ) local udp = socket.udp()