Доработка. Лишнее слово

This commit is contained in:
sasha80
2025-04-25 10:04:24 +03:00
parent 307a113d1f
commit abc638844f

View File

@@ -330,7 +330,7 @@ func _process(delta):
remove_child(req)
req.queue_free()
_req_count -= 1
push_error('ошибка: запрос плитки \"%s\" не отправлен' % tile.url)
push_error('запрос \"%s\" не отправлен' % tile.url)
if _queue.is_empty():
emit_signal('load_completed')
@@ -354,11 +354,11 @@ func _response(result, code, _headers: Array, body: PackedByteArray, req, tile:
emit_signal('map_server_online')
if code == 404:
push_error('ошибка: на сервере нет \"%s\"' % tile.url)
push_error('на сервере нет \"%s\"' % tile.url)
return
if Error.OK != image_load_proc.call(body):
push_error('ошибка: не удалось получить изображение (неверный формат?) из \"%s\"' % tile.url)
push_error('не удалось получить изображение (неверный формат?) из \"%s\"' % tile.url)
return
# create texture from image and add it to the cache