From c7fd49eeadbec958afc026b5653cd990470655d4 Mon Sep 17 00:00:00 2001 From: sasha80 Date: Fri, 23 Jan 2026 16:09:55 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B5=D0=B3=D1=80=D0=B5=D1=81=D1=81?= =?UTF-8?q?=D0=B8=D1=8F.=20=D0=9B=D0=B8=D1=88=D0=BD=D0=B8=D0=B5=20=D0=B7?= =?UTF-8?q?=D0=B0=D0=BF=D1=80=D0=BE=D1=81=D1=8B=20=D0=BF=D0=BB=D0=B8=D1=82?= =?UTF-8?q?=D0=BE=D0=BA=20=D0=BD=D0=B0=20=D1=81=D0=B5=D1=80=D0=B2=D0=B5?= =?UTF-8?q?=D1=80=20=D0=BA=D0=B0=D1=80=D1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scenes/tilemap/tilemap.gd | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scenes/tilemap/tilemap.gd b/scenes/tilemap/tilemap.gd index 244f6eb8..82e96996 100644 --- a/scenes/tilemap/tilemap.gd +++ b/scenes/tilemap/tilemap.gd @@ -374,7 +374,7 @@ func _process(delta) -> void: func process_online(result): # ERROR: res://scenes/tilemap/tilemap.gd:396 - Invalid access to property or key 'online' on a base object of type 'Nil'. var unit_instance: = network.get_unit_instance('уарэп-карта') - if not unit_instance: return + if not unit_instance: return true if result != HTTPRequest.RESULT_SUCCESS: if unit_instance.online: @@ -394,9 +394,8 @@ func _response(result, code, _headers: Array, body: PackedByteArray, req, tile: remove_child(req) req.queue_free() - if process_online(result): + if not process_online(result): _queue[tile.i] = tile - else: return if code == 404: