Update tiles.lua

Check if its a depot first, since some maps uses aids for depot counts (achivments etc) and this would create the "The tile seems to be protected against unwanted intruders." message to popup.