Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtleP committed Sep 28, 2024
2 parents a85d783 + 16e6b6b commit 07ca315
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ endif()
include(FetchContent)

set(LOVE_VERSION "12.0")
set(APP_VERSION "3.0.0")
set(APP_VERSION "3.0.2")

set(APP_TITLE "LÖVE Potion")
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
Expand Down
2 changes: 2 additions & 0 deletions source/modules/love/scripts/boot.lua
Original file line number Diff line number Diff line change
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
2 changes: 1 addition & 1 deletion source/objects/source/wrap_source.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ static constexpr luaL_Reg functions[] =
{ "clone", Wrap_Source::Clone },
{ "play", Wrap_Source::Play },
{ "pause", Wrap_Source::Pause },
{ "stop", Wrap_Source::Pause },
{ "stop", Wrap_Source::Stop },
{ "setVolume", Wrap_Source::SetVolume },
{ "getVolume", Wrap_Source::GetVolume },
{ "seek", Wrap_Source::Seek },
Expand Down

0 comments on commit 07ca315

Please sign in to comment.