Fix broken palette when swithcing tiles

This commit is contained in:
Vince
2012-09-16 16:16:09 +02:00
parent 1cd0e89207
commit 324c2b464e
3 changed files with 4 additions and 1 deletions

View File

@ -88,7 +88,7 @@
// Initialize palette:
this.createPalette_(this.framesheet.getUsedColors());
$.subscribe(Events.FRAMESHEET_RESET, $.proxy(function(evt) {
$.subscribe(Events.FRAMESHEET_RELOADED, $.proxy(function(evt) {
this.createPalette_(this.framesheet.getUsedColors());
}, this));