mirror of
https://github.com/love2d/love.git
synced 2026-08-15 07:41:11 +02:00
Sources are now NOT useless.
This commit is contained in:
@@ -105,6 +105,9 @@ function love.boot()
|
||||
-- Sets the source for the game.
|
||||
if love.__args[1] and love.__args[1] ~= "" then
|
||||
love.filesystem.setSource(love.path.getfull(love.__args[1]))
|
||||
else
|
||||
-- Do not set a source, load the default game.
|
||||
love.defaultscreen()
|
||||
end
|
||||
|
||||
end
|
||||
@@ -195,7 +198,7 @@ end
|
||||
|
||||
function love.defaultscreen()
|
||||
|
||||
-- Main loop goes here.
|
||||
|
||||
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user