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

Change retry button text to "Keep playing" for perfect solutions #16389

Merged
merged 3 commits into from
Jul 15, 2017

Conversation

balderdash
Copy link
Contributor

No description provided.

@balderdash balderdash requested a review from Hamms July 13, 2017 00:27
@@ -2748,7 +2748,8 @@ Studio.runButtonClick = function () {
Studio.displayFeedback = function () {
var tryAgainText;
// For free play, show keep playing, unless it's a big game level
if (level.freePlay && !(Studio.customLogic instanceof BigGameLogic)) {
if (Studio.testResults >= TestResults.MINIMUM_OPTIMAL_RESULT &&
!(Studio.customLogic instanceof BigGameLogic)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: I think I'd still like to see level.freePlay as an explicit check, even though the testresults comparison will still work for that case. Just for clarity.

@balderdash balderdash merged commit d9a6a51 into staging Jul 15, 2017
@balderdash balderdash deleted the playlab-try-again branch July 18, 2017 22:27
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

Successfully merging this pull request may close these issues.

None yet

2 participants