mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-25 21:43:47 -04:00
Logs now a warning in the console to give user the feedback that there are no programmable thangs which makws the level unplayable.
This commit is contained in:
parent
b557c43f60
commit
5cc24ea1b2
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ module.exports = class TomeView extends View
|
|||
@castButton = @insertSubView new CastButtonView spells: @spells
|
||||
else
|
||||
@cast()
|
||||
console.log "Warning: There are no Programmable Thangs in this level, which makes it unplayable."
|
||||
|
||||
createSpells: (programmableThangs) ->
|
||||
# If needed, we could make this able to update when programmableThangs changes.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue