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
|
@castButton = @insertSubView new CastButtonView spells: @spells
|
||||||
else
|
else
|
||||||
@cast()
|
@cast()
|
||||||
|
console.log "Warning: There are no Programmable Thangs in this level, which makes it unplayable."
|
||||||
|
|
||||||
createSpells: (programmableThangs) ->
|
createSpells: (programmableThangs) ->
|
||||||
# If needed, we could make this able to update when programmableThangs changes.
|
# If needed, we could make this able to update when programmableThangs changes.
|
||||||
|
|
Reference in a new issue