Cleaned up boot.lua a tiny bit

This commit is contained in:
Alex Szpakowski
2013-08-08 03:19:54 -03:00
parent 7026ebb4c7
commit 73e9f327dc
3 changed files with 6 additions and 12 deletions
+2 -5
View File
@@ -18,16 +18,13 @@ freely, subject to the following restrictions:
3. This notice may not be removed or altered from any source distribution.
--]]
-- Make sure love table exists.
if not love then love = {} end
-- Make sure love exists.
local love = require("love")
-- Used for setup:
love.path = {}
love.arg = {}
-- Unparsed arguments:
argv = {}
-- Replace any \ with /.
function love.path.normalslashes(p)
return string.gsub(p, "\\", "/")