summaryrefslogtreecommitdiff
path: root/addons/escoria-core/game/core-scripts/behaviors
diff options
context:
space:
mode:
authorradiohotline <radoihotline@disroot.rg>2026-08-25 16:33:56 +0300
committerradiohotline <radoihotline@disroot.rg>2026-08-25 16:33:56 +0300
commita89e744ed0e8c759caf041a580112365bbfe4303 (patch)
treedd61e320904176995727e86a857d00c90d4933ba /addons/escoria-core/game/core-scripts/behaviors
parent6d53d8cac78250dc888aa49d5f9d4175c6652feb (diff)
escoria updateHEADmain
Diffstat (limited to 'addons/escoria-core/game/core-scripts/behaviors')
-rw-r--r--addons/escoria-core/game/core-scripts/behaviors/esc_movable.gd5
1 files changed, 2 insertions, 3 deletions
diff --git a/addons/escoria-core/game/core-scripts/behaviors/esc_movable.gd b/addons/escoria-core/game/core-scripts/behaviors/esc_movable.gd
index 27ed7a5..aae7837 100644
--- a/addons/escoria-core/game/core-scripts/behaviors/esc_movable.gd
+++ b/addons/escoria-core/game/core-scripts/behaviors/esc_movable.gd
@@ -1,7 +1,7 @@
## Node that performs the moving (walk, teleport, terrain scaling...) actions on
## its parent node.
-extends Node
class_name ESCMovable
+extends Node
## Tasks carried out by this walkable node[br]
@@ -623,5 +623,4 @@ func get_shortest_way_to_dir(current_dir: int, target_dir: int) -> int:
if internal and current_dir < target_dir or \
(not internal and current_dir > target_dir):
return 1
- else:
- return -1
+ return -1