Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Prevents health bars on natural tiles.

  • Loading branch information...
commit 433ffea07ce0908c43e04c9266aa115268ff3814 1 parent 0b1ade7
@stevenleeg authored
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) {
Please sign in to comment.
Something went wrong with that request. Please try again.