summaryrefslogtreecommitdiff
path: root/addons/escoria-core/game/core-scripts/behaviors
diff options
context:
space:
mode:
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