diff options
author | root <bryan@olenepal.org> | 2009-09-07 02:02:51 (GMT) |
---|---|---|
committer | root <bryan@olenepal.org> | 2009-09-07 02:02:51 (GMT) |
commit | 6fcaf65ce48a75be63ac3f99ebb7ceda5207976e (patch) | |
tree | 52963e220894ae0e8b6cf5d80cdf14f8800ebde5 | |
parent | 6eb06363da31f5bba309234082c9c1fef1920863 (diff) |
fixed problem w/ monkey animation
-rwxr-xr-x | examples/adding_up_to_10/js/lesson.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/adding_up_to_10/js/lesson.js b/examples/adding_up_to_10/js/lesson.js index e1a4ff9..4f8aabe 100755 --- a/examples/adding_up_to_10/js/lesson.js +++ b/examples/adding_up_to_10/js/lesson.js @@ -212,7 +212,12 @@ k.main(function() { var reset = function () { score = level = 0; startTimerY = 10; - $.each(k.layers, function () { this.clear();}); + $.each(k.layers, function () { + if (this.id != "chimp"){ + this.clear(); + } + }); + game(); }; |