Robosturm / Commander_Wars

The aim of this project is to create an Advance Wars Clone with a lot of additions customizations and modding support. For Contact Inforamtion see the wiki page. Take a view on the game.
https://github.com/Robosturm/Commander_Wars/releases
GNU Lesser General Public License v3.0
217 stars 32 forks source link

Destroyed Gate Should Not Have Vision #1759

Closed FruityGumGuiltyFruit closed 8 months ago

FruityGumGuiltyFruit commented 8 months ago

Is your feature request related to a problem? Please describe. MrDuck557 and I came to the conclusion that it is strange for destroyed gates to have vision.

Describe the solution you'd like Destroyed Gates should not have vision.

Describe alternatives you've considered I tried to code a solution by putting this code in the .js files for ZDESTROYED_GATE_N_S and ZDESTROYED_GATE_E_W, but that did not appear to solve it.

this.getVision = function(building, map)
{
   return -1;
};

Additional context image