Include sprite name in debug logs

This commit is contained in:
Thomas Weber committed 2020-08-03 22:54:05 -05:00
1 parent 84fcff85d9
commit af265c63ca
1 file changed
+1 -1
+1 -1
View File
@@ -672,7 +672,7 @@ class ScriptCompiler {
const factory = this.createScriptFactory();
const fn = execute.scopedEval(factory);
log.info(`JS: compiled script`, factory);
log.info(`JS: ${this.target.sprite.name}: compiled script`, factory);
return fn;
}