Skip to content

Commit 56d5d34

Browse files
committed
windows path issue fix
1 parent 5d0910d commit 56d5d34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modes/ActorMode.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ void LActorMode::RenderSceneHierarchy(std::shared_ptr<LMapDOMNode> current_map,
7070

7171
std::string resourcePathRoot = "";
7272
if(rooms.size() == 0){
73-
resourcePathRoot = std::filesystem::path("Iwamoto") / std::format("map{}", current_map->GetMapNumber());
73+
resourcePathRoot = (std::filesystem::path("Iwamoto") / std::format("map{}", current_map->GetMapNumber())).string();
7474
} else {
7575
resourcePathRoot = std::filesystem::path(rooms[0]->GetChildrenOfType<LRoomDataDOMNode>(EDOMNodeType::RoomData)[0]->GetResourcePath()).parent_path().string();
7676
}

0 commit comments

Comments
 (0)