From 9576bd187c044741d4c4290b31eb6fa320f07d5f Mon Sep 17 00:00:00 2001 From: devil_1nc Date: Sun, 4 Dec 2022 14:41:59 +0400 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB(?= =?UTF-8?q?=D0=B0)=20=D0=BD=D0=B0=20'ProjectPlane/ProjectPlane/AbstractMap?= =?UTF-8?q?.cs'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ProjectPlane/ProjectPlane/AbstractMap.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ProjectPlane/ProjectPlane/AbstractMap.cs b/ProjectPlane/ProjectPlane/AbstractMap.cs index e3ef87b..ab0c1a1 100644 --- a/ProjectPlane/ProjectPlane/AbstractMap.cs +++ b/ProjectPlane/ProjectPlane/AbstractMap.cs @@ -162,10 +162,7 @@ namespace ProjectPlane { return false; } - if (other == null) - { - return false; - } + if (_width != other._width) return false; if (_height != other._height) return false; if (_size_x != other._size_x) return false;