fix: Inconsistent return in Tween#pause()

This commit is contained in:
Antonio Román 2019-03-28 01:03:29 +01:00 committed by GitHub
parent 2317cb216e
commit e2a0c091ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -611,7 +611,7 @@ var Tween = new Class({
{
if (this.state === TWEEN_CONST.PAUSED)
{
return;
return this;
}
this.paused = true;