diff options
Diffstat (limited to 'ship/ship/ViewPorts.gd')
-rw-r--r-- | ship/ship/ViewPorts.gd | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ship/ship/ViewPorts.gd b/ship/ship/ViewPorts.gd index 2e8e800..aac098c 100644 --- a/ship/ship/ViewPorts.gd +++ b/ship/ship/ViewPorts.gd @@ -11,5 +11,4 @@ func _physics_process(_delta): for i in self.get_child_count(): var viewport = self.get_child(i) var cam = viewport.get_node("Camera") - cam.global_transform = camera_locations[i] - cam.global_transform = self.global_transform * cam.global_transform + cam.global_transform = self.global_transform * camera_locations[i] |