Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
hexbog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fff2ed1
)
deselect when clicking disabled tiles
author
Jason Woofenden
<jason@jasonwoof.com>
Tue, 26 Nov 2013 17:01:14 +0000
(12:01 -0500)
committer
Jason Woofenden
<jason@jasonwoof.com>
Tue, 26 Nov 2013 17:01:14 +0000
(12:01 -0500)
main.coffee
patch
|
blob
|
history
diff --git
a/main.coffee
b/main.coffee
index
900295d
..
6f0cd18
100644
(file)
--- a/
main.coffee
+++ b/
main.coffee
@@
-649,7
+649,7
@@
new_tile = (space, y) ->
space.tile = tile
html_tile.click ->
- return if tile.hp < 1
+ return unselect_all() if tile.hp < 1
word = selected_word()
if tile in selected
if selected_word().length > 2 and is_word(word) and tile is selected.last()