Skip to content

Commit

Permalink
Minor error consolidation
Browse files Browse the repository at this point in the history
  • Loading branch information
ramokz committed Apr 29, 2024
1 parent dba0e43 commit ad2e90a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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.
Expand Down

0 comments on commit ad2e90a

Please sign in to comment.