Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
hexbog.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
can't click dead tiles
[hexbog.git]
/
main.coffee
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