Merge remote-tracking branch 'sasha80/master'

This commit is contained in:
Maxim
2026-01-26 08:56:15 +03:00

View File

@@ -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: