summaryrefslogtreecommitdiffstats
path: root/World.gd
diff options
context:
space:
mode:
authordusoleil <howcansocksbereal@gmail.com>2022-09-15 10:28:24 -0400
committerdusoleil <howcansocksbereal@gmail.com>2022-09-15 10:28:24 -0400
commita2c28a27280c186c2717f303ef52a865da6dd94f (patch)
tree24c862acddc9ff0b705bf00c53c8affe3d8c5c85 /World.gd
parent79a4d45d970a2cb44baee39aeff6294cb3156c01 (diff)
downloadgodot_wildjam_49-a2c28a27280c186c2717f303ef52a865da6dd94f.tar.gz
godot_wildjam_49-a2c28a27280c186c2717f303ef52a865da6dd94f.zip
Update movement scripts after Main scene reorganization merge
Diffstat (limited to 'World.gd')
-rw-r--r--World.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/World.gd b/World.gd
index a612572..6ea8452 100644
--- a/World.gd
+++ b/World.gd
@@ -53,7 +53,7 @@ func _ready():
generate_location(Vector2(i,j))
func travel(direction:Vector3):
- var boat = $"/root/Main/Raft"
+ var boat = $"/root/Main/ShipRigidBody"
var boat_direction = boat.global_transform.basis
boat_direction = Basis(Vector3.UP*boat_direction.get_euler().y)
direction = -direction