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

[Spritelab] Fix SetupSim block #31177

Merged
merged 3 commits into from Oct 9, 2019
Merged

[Spritelab] Fix SetupSim block #31177

merged 3 commits into from Oct 9, 2019

Conversation

ajpal
Copy link
Contributor

@ajpal ajpal commented Oct 9, 2019

Description

#30979 changed generated code, and I forgot to change the setup sim code to match, which broke the block. This fixes the block.

Links

Testing story

Reviewer Checklist:

  • Tests provide adequate coverage
  • Code is well-commented
  • New features are translatable or updates will not break translations
  • Relevant documentation has been added or updated
  • User impact is well-understood and desirable
  • Pull Request is labeled appropriately
  • Follow-up work items (including potential tech debt) are tracked and linked

@ajpal ajpal added the star-labs label Oct 9, 2019

for (counter_i = 0; counter_i < s1number; counter_i++) {
makeNewSpriteAnon(s1costume, randomLocation());
}
addBehaviorSimple(s1costume, new Behavior(movementBehavior(s1speed)));
addBehaviorSimple({costume: s1costume}, new Behavior(movementBehavior(s2speed)));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just wanted to make sure that the change from s1speed -> s2speed was intentional.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was not! Thanks for catching

@ajpal ajpal merged commit 1b95e8d into staging Oct 9, 2019
@ajpal ajpal deleted the oct9-setupsim branch October 9, 2019 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants