mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 23:34:53 +08:00
Fixed removing queue listener.
This commit is contained in:
parent
2abccc497e
commit
35ec341907
@ -232,8 +232,9 @@ public class AnimationState {
|
||||
|
||||
if (listener == currentListener) currentListener = null;
|
||||
|
||||
Array<QueueEntry> queue = this.queue;
|
||||
for (int i = queue.size - 1; i >= 0; i--)
|
||||
if (queue.get(i).listener == listener) queue.removeIndex(i);
|
||||
if (queue.get(i).listener == listener) queue.get(i).listener = null;
|
||||
}
|
||||
|
||||
public AnimationStateData getData () {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user