Skip to content

Commit 9a518c2

Browse files
committed
Update Song.hx
1 parent dbf49ff commit 9a518c2

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

source/funkin/data/Song.hx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,7 @@ class Song
128128
}
129129

130130
public function play(?chartName:String = ''){
131-
if (charts.contains(chartName)) {
132-
Song.playSong(this, chartName);
133-
return true;
134-
}
135-
136-
trace('$this: Attempt to play null chart: ' + chartName);
137-
return false;
131+
Song.playSong(this, chartName);
138132
}
139133

140134
public function toString()

0 commit comments

Comments
 (0)