summaryrefslogtreecommitdiffstats
path: root/PatrolEnemy.gd
diff options
context:
space:
mode:
authorJan Tuomi <jan.tuomi@valuemotive.com>2022-08-15 09:35:35 +0300
committerJan Tuomi <jan.tuomi@valuemotive.com>2022-08-15 09:35:35 +0300
commit8b0ce964d2aa5dba186b85abf64b70ffc8216c06 (patch)
tree776e6149b78091cd377f6f421839e15186a2cba0 /PatrolEnemy.gd
parentf3cc4f82624b21dafa19515b69c66a3c8f4fe248 (diff)
Add UI
Diffstat (limited to 'PatrolEnemy.gd')
-rw-r--r--PatrolEnemy.gd1
1 files changed, 0 insertions, 1 deletions
diff --git a/PatrolEnemy.gd b/PatrolEnemy.gd
index b3d02e2..602df8f 100644
--- a/PatrolEnemy.gd
+++ b/PatrolEnemy.gd
@@ -14,7 +14,6 @@ func _physics_process(delta):
if $RayCastWall.is_colliding():
scale.x = -scale.x
velocity.x = -velocity.x
- print(scale, velocity)
velocity.y = clamp(velocity.y, -INF, GlobalData.MAX_FALL_SPEED)
move_and_slide(velocity, Vector2.UP)