From 4121b068f4ecf33747cb61e342997e5fa374ea27 Mon Sep 17 00:00:00 2001 From: kayomn Date: Mon, 23 Jan 2023 20:31:28 +0000 Subject: [PATCH] Amend missed code review comment --- map_editor/map_editor_terrain_canvas.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/map_editor/map_editor_terrain_canvas.gd b/map_editor/map_editor_terrain_canvas.gd index 3d1a0a2..ae75b45 100644 --- a/map_editor/map_editor_terrain_canvas.gd +++ b/map_editor/map_editor_terrain_canvas.gd @@ -37,9 +37,9 @@ func clear(clear_elevation: float) -> void: _editable_texture.update(_editable_image) ## +## Returns the canvas data as a [Texture2D]. ## -## -func get_texture() -> void: +func get_texture() -> Texture2D: return _editable_texture ##