Fixed #1865 ConcurrentModificationException on SWF close

This commit is contained in:
Jindra Petřík
2022-11-11 21:34:11 +01:00
parent 968fd92cd2
commit cc0b5e9d76
3 changed files with 7 additions and 1 deletions

View File

@@ -108,6 +108,9 @@ public abstract class ButtonTag extends DrawableTag implements Timelined {
}
public DefineButtonSoundTag getSounds() {
if (swf == null) {
return null;
}
return (DefineButtonSoundTag) swf.getCharacterIdTag(getCharacterId(), DefineButtonSoundTag.ID);
}