diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-12-07 18:14:39 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-12-07 18:14:39 -0300 |
commit | dcab01618ae9eaa18e16b377728125379a8f48bc (patch) | |
tree | b694143266f5949e720df5c20bb60a7347494cc8 /scene | |
parent | 8717afbfe14357fc1e3c192676f89a91bd28329b (diff) |
Fixed is_playing funtion (was reporting wrong), closes #13928
Made error reporting to opcode_set in gdscript a bit clearer
Diffstat (limited to 'scene')
-rw-r--r-- | scene/2d/animated_sprite.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/animated_sprite.cpp b/scene/2d/animated_sprite.cpp index 4865858b7d..f8f94926b7 100644 --- a/scene/2d/animated_sprite.cpp +++ b/scene/2d/animated_sprite.cpp @@ -568,7 +568,7 @@ void AnimatedSprite::stop() { bool AnimatedSprite::is_playing() const { - return is_processing(); + return playing; } void AnimatedSprite::_reset_timeout() { |