Skip to content

Commit 932a289

Browse files
committed
Remove unused CoinsRunningTotal registry value
1 parent 0b7cdcc commit 932a289

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

public/src/scenes/mainTask.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,8 +355,6 @@ export default class MainTask extends BaseScene {
355355

356356
////////////GAME COMPLETE WHEN ALL TRIALS HAVE RUN////////////////
357357
if (trialNo == maxTrials) {
358-
// Save the total number of coins collected
359-
this.registry.set('CoinsRunningTotal', nCoins);
360358
// Send message to the app to indicate that the game is complete
361359
EmbedContext.sendMessage('gameComplete', {});
362360
// Stop the scene so that all visuals are removed

0 commit comments

Comments
 (0)