Skip to content

Commit

Permalink
Update Song.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
riconuts committed Feb 21, 2025
1 parent dbf49ff commit 9a518c2
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions source/funkin/data/Song.hx
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,7 @@ class Song
}

public function play(?chartName:String = ''){
if (charts.contains(chartName)) {
Song.playSong(this, chartName);
return true;
}

trace('$this: Attempt to play null chart: ' + chartName);
return false;
Song.playSong(this, chartName);
}

public function toString()
Expand Down

0 comments on commit 9a518c2

Please sign in to comment.