From 80db5bc6c90a9badc7deb4068f4400abacd7cc16 Mon Sep 17 00:00:00 2001 From: Victor Date: Mon, 7 Dec 2015 17:38:58 +0200 Subject: [PATCH] Clear sprites after scene switch --- public_html/js/Views.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public_html/js/Views.js b/public_html/js/Views.js index e71aabc..46ba84a 100644 --- a/public_html/js/Views.js +++ b/public_html/js/Views.js @@ -78,6 +78,7 @@ Views.prototype.background = function (type, name, effect) { this.backgroundType = type; this.backgroundName = name; this.text(""); + this.spritesClear(); var background = ''; if (name.equalsIgnoreCase("black")) {