Fixed #2043 StartSound2 tag handling

This commit is contained in:
Jindra Petřík
2023-10-01 18:21:38 +02:00
parent caf837c8df
commit 10634304fe
2 changed files with 4 additions and 1 deletions
@@ -310,7 +310,7 @@ public class Timeline {
} else if (t instanceof StartSound2Tag) {
frame.sounds.add(-1);
frame.soundClasses.add(((StartSound2Tag) t).soundClassName);
frame.soundInfos.add(((StartSoundTag) t).soundInfo);
frame.soundInfos.add(((StartSound2Tag) t).soundInfo);
} else if (t instanceof SetBackgroundColorTag) {
frame.backgroundColor = ((SetBackgroundColorTag) t).backgroundColor;
} else if (t instanceof PlaceObjectTypeTag) {