Skip to content

Commit

Permalink
Small drag and drop fix for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pinguin999 committed Jan 16, 2025
1 parent a08589a commit db2a02c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,7 @@ const std::string Game::getLuaPath(std::string objectId)
#if (!defined(NDEBUG) && !defined(ANDROID) && (!defined(TARGET_OS_IOS) || TARGET_OS_IOS == 0) && !defined(EMSCRIPTEN))
void Game::onFileDrop(const std::filesystem::path& path)
{
std::string spine_file = path.stem();
std::string spine_file = path.stem().string();

auto atlas = spAtlas_createFromFile((spine_file + "/" + spine_file + ".atlas").c_str(), nullptr);
assert(atlas);
Expand Down

0 comments on commit db2a02c

Please sign in to comment.