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:
fff3607
)
can't click dead tiles
author
Jason Woofenden
<jason@jasonwoof.com>
Sat, 2 Nov 2013 19:26:54 +0000
(15:26 -0400)
committer
Jason Woofenden
<jason@jasonwoof.com>
Sat, 2 Nov 2013 19:26:54 +0000
(15:26 -0400)
main.coffee
patch
|
blob
|
history
diff --git
a/main.coffee
b/main.coffee
index
e67a3e3
..
860469d
100644
(file)
--- a/
main.coffee
+++ b/
main.coffee
@@
-456,6
+456,7
@@
new_tile = (num, x, y) ->
html_tile.click ->
me = $(this)
num = me.data 'tile_number'
+ return if tiles[num].hp < 1
if num in selected
nth_of_word = selected.indexOf(num)
first = nth_of_word is 0