Clear sprites after scene switch

This commit is contained in:
Victor 2015-12-07 17:38:58 +02:00
parent d28f17fc7e
commit 80db5bc6c9

View File

@ -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")) {