Fix: reduce score not reset in typing practice
This commit is contained in:
@@ -93,7 +93,7 @@ var Result = {
|
||||
var animalLevelID = 0;
|
||||
if(isTypingPracticeApp())
|
||||
animalLevelID = Animal.animalLevelIDByRecord(sessionStorageManager.getRecord(), Animal.TYPE_PRACTICE);
|
||||
else
|
||||
else // Typing Test App
|
||||
animalLevelID = Animal.animalLevelIDByRecord(sessionStorageManager.getRecord(), Animal.TYPE_TEST);
|
||||
|
||||
var leftAnimal = new Animal(Animal.TYPE_ANIMATION, animalLevelID, game.world.centerX - 200, 150);
|
||||
|
||||
Reference in New Issue
Block a user