mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Cleaned up boot.lua a tiny bit
This commit is contained in:
@@ -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, "\\", "/")
|
||||
|
||||
Reference in New Issue
Block a user