mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 16:12:40 +08:00
@@ -51,7 +51,7 @@ p.sample = function () {
|
||||
};
|
||||
|
||||
p.stopState = function (state) {
|
||||
if (JS.array.remove(this.playingAnims, state)) {
|
||||
if (state) {
|
||||
state.stop();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user