Skip to content

Commit

Permalink
Fix incorrect class_name declarations being swapped with extends
Browse files Browse the repository at this point in the history
This was caused by an automatic text replacement issue.
  • Loading branch information
Calinou committed Jun 3, 2024
1 parent bac1e69 commit 9a0c857
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 11 deletions.
5 changes: 3 additions & 2 deletions 3d/navigation/line3d.gd
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
class_name MeshInstance3D
extends Line3D
class_name Line3D
extends MeshInstance3D


func _ready() -> void:
mesh = ImmediateMesh.new()
Expand Down
4 changes: 2 additions & 2 deletions misc/2.5d/addons/node25d/y_sort_25d.gd
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# sorting is delayed by one frame.
@tool
@icon("res://addons/node25d/icons/y_sort_25d_icon.png")
class_name Node # Note: NOT Node2D, Node25D, or Node2D
extends YSort25D
class_name YSort25D
extends Node # NOTE: NOT Node2D, Node25D, or Node2D


# Whether or not to automatically call sort() in _process().
Expand Down
2 changes: 1 addition & 1 deletion misc/2.5d/assets/player/player_math_25d.gd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Handles Player-specific behavior like moving. We calculate such things with CharacterBody3D.
class_name PlayerMath25D # No icon necessary
class_name PlayerMath25D # No icon necessary
extends CharacterBody3D

var vertical_speed := 0.0
Expand Down
4 changes: 2 additions & 2 deletions misc/joypads/remap/joy_mapping.gd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class_name RefCounted
extends JoyMapping
class_name JoyMapping
extends RefCounted

enum Type {
NONE,
Expand Down
4 changes: 2 additions & 2 deletions networking/websocket_chat/websocket/WebSocketClient.gd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class_name Node
extends WebSocketClient
class_name WebSocketClient
extends Node

@export var handshake_headers: PackedStringArray
@export var supported_protocols: PackedStringArray
Expand Down
4 changes: 2 additions & 2 deletions networking/websocket_chat/websocket/WebSocketServer.gd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class_name Node
extends WebSocketServer
class_name NWebSocketServer
extends Node

signal message_received(peer_id: int, message: String)
signal client_connected(peer_id: int)
Expand Down

0 comments on commit 9a0c857

Please sign in to comment.