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:
GlenDC 2014-01-16 22:26:34 +01:00
parent b557c43f60
commit 5cc24ea1b2

View file

@ -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.