Skip to content

Commit

Permalink
re-add this for the millionth time
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtleP committed Aug 12, 2024
1 parent bf7bf5c commit 5aa3f33
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/modules/love/scripts/boot.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
R"luastring"--(
R "luastring" --(
-- DO NOT REMOVE THE ABOVE LINE. It is used to load this file as a C++ string.
-- There is a matching delimiter at the bottom of the file.

Expand Down Expand Up @@ -98,6 +98,8 @@ function love.boot()
main_file = source_leaf
custom_main_file = true
full_source = love.path.getFull(full_source:sub(1, -(#source_leaf + 1)))
elseif nouri:match("%.love$") then
full_source = nouri
end

can_has_game = pcall(love.filesystem.setSource, full_source)
Expand Down

0 comments on commit 5aa3f33

Please sign in to comment.