Browse files

Prevents health bars on natural tiles.

  • Loading branch information...
1 parent 0b1ade7 commit 433ffea07ce0908c43e04c9266aa115268ff3814 Steve Gattuso committed Apr 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 static/js/Grid.js
View
2 static/js/Grid.js
@@ -40,7 +40,7 @@ var Grid = (function() {
if(Grid.place_mode) return;
var coord = new Coord($(this).attr("id").replace("o",""));
- if(coord.getType() == 1 || coord.getType() == 0) return;
+ if(coord.getType() < 2 || coord.getType() > 50) return;
coord.ovr.children(".health").animate({"opacity":1}, 75);
coord.dom.animate({"color": "#F0F3F6"}, 75);
}).mouseup(function(e) {

0 comments on commit 433ffea

Please sign in to comment.