Skip to content

Commit

Permalink
Merge branch 'pr/1541' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Lionel Laské committed Mar 2, 2024
2 parents 22b261b + fc6510b commit a39edbd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Tooltips not localized in Reflection activity #1508
- Time fluctuations in Clock Activity #1507
- Resizing textarea in activity palette looks ugly #1303
- Player without face and color #1536

## [1.7.0] - 2023-03-28
### Added
Expand Down
6 changes: 3 additions & 3 deletions activities/MazeWeb.activity/js/activity.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ define(["sugar-web/activity/activity","tween","rAF","activity/directions","sugar
}

// Load from datastore
if (!environment.objectId) {
runLevel();
} else {
if (environment.objectId) {
activity.getDatastoreObject().loadAsText(function(error, metadata, data) {
if (error==null && data!=null) {
data = JSON.parse(data);
Expand Down Expand Up @@ -475,6 +473,7 @@ define(["sugar-web/activity/activity","tween","rAF","activity/directions","sugar

var nextLevel = function () {
gameSize *= 1.2;
dirtyCells = [];
runLevel();
}

Expand Down Expand Up @@ -644,6 +643,7 @@ define(["sugar-web/activity/activity","tween","rAF","activity/directions","sugar
var restartButton = document.getElementById('restart-button');
restartButton.addEventListener('click', function(e) {
gameSize = 60;
dirtyCells = [];
runLevel();
});

Expand Down

0 comments on commit a39edbd

Please sign in to comment.