field graphics changes

This commit is contained in:
landgreen
2019-09-30 19:09:08 -07:00
parent 42908b1ed9
commit fefb85c74b
2 changed files with 4 additions and 4 deletions

View File

@@ -521,7 +521,7 @@ const spawn = {
this.seePlayerByLookingAt();
const dist2 = this.distanceToPlayer2();
//laser Tracking
if (this.seePlayer.yes && dist2 < 4000000) {
if (this.seePlayer.yes && dist2 < 4000000 && !mech.isStealth) {
this.attraction();
const rangeWidth = 2000; //this is sqrt of 4000000 from above if()
//targeting laser will slowly move from the mob to the player's position