Skip to content

Commit

Permalink
tried initializing selectedSong as nullptr
Browse files Browse the repository at this point in the history
  • Loading branch information
pundang committed Jun 22, 2024
1 parent 3e1f0a1 commit 5faed93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ using namespace geode::prelude;

// global variables
std::vector<Song> songs;
Song selectedSong;
Song selectedSong(nullptr);

$on_mod(Loaded) {
// get the path for the songs
Expand Down

0 comments on commit 5faed93

Please sign in to comment.