Skip to content

Commit

Permalink
Path Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuachen6 committed Sep 27, 2024
1 parent 98dec4d commit 8be1076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Display::Display(sf::RenderTarget* target) {
this->target = target;
std::filesystem::path path = std::filesystem::current_path();
path = path / ".." / "assets";
path = path / "assets";
loader = new SpriteSheet(path / "pieces.bmp", 2, 6);
bits = 0;
font.loadFromFile((path / "OpenSans-Regular.ttf").string());
Expand Down

0 comments on commit 8be1076

Please sign in to comment.