enabled enforced static typing
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
extends StaticBody3D
|
||||
class_name ItemCard
|
||||
class_name ItemCard extends StaticBody3D
|
||||
|
||||
@export var card: Card
|
||||
|
||||
@ -13,7 +12,7 @@ func pick_up() -> Card:
|
||||
|
||||
|
||||
@rpc
|
||||
func networked_pick_up():
|
||||
func networked_pick_up() -> void:
|
||||
$CollisionShape3D.call_deferred("set_disabled", true)
|
||||
$model/CSGSphere3D.set_visible(false)
|
||||
$AudioStreamPlayer3D.play()
|
||||
|
Reference in New Issue
Block a user