From ad2e90a0aab74dd5f8e3bf31f66fb14e11076742 Mon Sep 17 00:00:00 2001 From: Marcus Date: Mon, 29 Apr 2024 22:25:43 +0100 Subject: [PATCH] Minor error consolidation --- .../scripts/phantom_camera/phantom_camera_2d.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/phantom_camera/scripts/phantom_camera/phantom_camera_2d.gd b/addons/phantom_camera/scripts/phantom_camera/phantom_camera_2d.gd index aebe92c..3213532 100644 --- a/addons/phantom_camera/scripts/phantom_camera/phantom_camera_2d.gd +++ b/addons/phantom_camera/scripts/phantom_camera/phantom_camera_2d.gd @@ -1040,7 +1040,7 @@ func set_limit(side: int, value: int) -> void: SIDE_TOP: limit_top = value SIDE_RIGHT: limit_right = value SIDE_BOTTOM: limit_bottom = value - _: printerr("Not a valid Side parameter.") + _: printerr("Not a valid Side.") ## Gets the limit side func get_limit(value: int) -> int: match value: @@ -1049,7 +1049,7 @@ func get_limit(value: int) -> int: SIDE_RIGHT: return limit_right SIDE_BOTTOM: return limit_bottom _: - printerr("Not a valid limit side") + printerr("Not a valid Side.") return -1 ## Assign a the Camera2D Left Limit Side value.