Skip to content

Commit c9104f2

Browse files
committed
Update APFreeplayManager.hx
1 parent bb81bd1 commit c9104f2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source/managers/APFreeplayManager.hx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ abstract APSongData(SongInfo) {
3434
return new APSongData({song: song, mod: mod, unlocked: unlocked, missing: missing, hinted: hinted, otherData: otherData});
3535
}
3636

37+
public function new(data:SongInfo) {
38+
this = data;
39+
}
40+
3741
public var song(get, never):String;
3842
public var mod(get, never):String;
3943
public var unlocked(get, never):Bool;

0 commit comments

Comments
 (0)