File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -100,10 +100,11 @@ var DynamicLightRecorder = DynamicLightRecorder || (function() {
100
100
} ) ;
101
101
case 0.6 :
102
102
myState . config . autoLink = true ;
103
+ myState . config . logLevel = 'INFO' ;
103
104
logger . info ( 'Upgrading existing tokens with transmogrifier-protection' ) ;
104
105
_ . each ( myState . tileTemplates , function ( template , key ) {
105
106
template . imgsrc = key ;
106
- _ . each ( findObjs ( { type :'graphic' , imgsrc :imgsrc } ) , function ( graphic ) {
107
+ _ . each ( findObjs ( { type :'graphic' , imgsrc :template . imgsrc } ) , function ( graphic ) {
107
108
var gmn = graphic . get ( 'gmnotes' ) ;
108
109
if ( gmn . indexOf ( 'DynamicLightData:' ) === 0 ) {
109
110
graphic . set ( 'name' , 'DynamicLightRecorder' ) ;
@@ -1530,7 +1531,6 @@ var DynamicLightRecorder = DynamicLightRecorder || (function() {
1530
1531
on ( 'add:token' , module . handleNewToken . bind ( module ) ) ;
1531
1532
on ( 'destroy:token' , module . handleDeleteToken . bind ( module ) ) ;
1532
1533
} ;
1533
-
1534
1534
logger . wrapModule ( module ) ;
1535
1535
return {
1536
1536
RegisterEventHandlers : registerEventHandlers ,
You can’t perform that action at this time.
0 commit comments