Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Capeling committed Jun 25, 2024
1 parent 67ea7ff commit 2049eee
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions CMakeSettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"configurations": [
{
"name": "x64-Debug",
"generator": "Ninja",
"configurationType": "Debug",
"inheritEnvironments": [ "msvc_x64_x64" ],
"buildRoot": "${projectDir}\\out\\build\\${name}",
"installRoot": "${projectDir}\\out\\install\\${name}",
"cmakeCommandArgs": "",
"buildCommandArgs": "",
"ctestCommandArgs": ""
},
{
"name": "x64-Clang-Release",
"generator": "Ninja",
"configurationType": "RelWithDebInfo",
"buildRoot": "${projectDir}\\out\\build\\${name}",
"installRoot": "${projectDir}\\out\\install\\${name}",
"cmakeCommandArgs": "",
"buildCommandArgs": "",
"ctestCommandArgs": "",
"inheritEnvironments": [ "clang_cl_x64_x64" ],
"variables": []
}
]
}
2 changes: 1 addition & 1 deletion src/layers/SogLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ void SogLayer::onClose(CCObject*) {
#ifndef GEODE_IS_ANDROID64
auto garage = GJGarageLayer::node();
#else
auto garage = getChildOfType<GJGarageLayer*>(GJGarageLayer::scene(), 0);
auto garage = getChildOfType<GJGarageLayer>(GJGarageLayer::scene(), 0);
#endif

scene->addChild(garage, -1);
Expand Down

0 comments on commit 2049eee

Please sign in to comment.