Fix incorrect class_name declarations being swapped with extends

This was caused by an automatic text replacement issue.
This commit is contained in:
Hugo Locurcio
2024-06-03 20:13:24 +02:00
parent bac1e69164
commit 9a0c857131
6 changed files with 12 additions and 11 deletions

View File

@@ -1,5 +1,6 @@
class_name MeshInstance3D
extends Line3D
class_name Line3D
extends MeshInstance3D
func _ready() -> void:
mesh = ImmediateMesh.new()

View File

@@ -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().

View File

@@ -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

View File

@@ -1,5 +1,5 @@
class_name RefCounted
extends JoyMapping
class_name JoyMapping
extends RefCounted
enum Type {
NONE,

View File

@@ -1,5 +1,5 @@
class_name Node
extends WebSocketClient
class_name WebSocketClient
extends Node
@export var handshake_headers: PackedStringArray
@export var supported_protocols: PackedStringArray

View File

@@ -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)