mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-29 14:19:48 -04:00
Added another logging message for more easily seeing when transpiled code might be misfiring.
This commit is contained in:
parent
20589db6be
commit
cf57411b5c
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ module.exports = class Spell
|
|||
@permissions = read: p.permissions?.read ? [], readwrite: p.permissions?.readwrite ? [] # teams
|
||||
@setLanguage if @canWrite() then options.language else 'javascript'
|
||||
@useTranspiledCode = @shouldUseTranspiledCode()
|
||||
console.log "Spell", @spellKey, "is using transpiled code (should only happen if it's an enemy/spectate writable method)." if @useTranspiledCode
|
||||
|
||||
@source = @originalSource
|
||||
@parameters = p.parameters
|
||||
|
|
Loading…
Add table
Reference in a new issue