Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StateManager.restart first additional parameter #722

Closed
mariusbrn opened this issue Apr 14, 2014 · 1 comment
Closed

StateManager.restart first additional parameter #722

mariusbrn opened this issue Apr 14, 2014 · 1 comment

Comments

@mariusbrn
Copy link

In the restart method the first additional parameter is never store. Arguments length check and splice start should be 2 i think:

if (arguments.length > 2)
{
this._args = Array.prototype.splice.call(arguments, 2);
}

photonstorm added a commit that referenced this issue Apr 14, 2014
@photonstorm
Copy link
Collaborator

Totally correct, well spotted - thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants