Fixed annoying error

This commit is contained in:
Rendo 2025-11-28 18:59:23 +05:00
commit aa1c1c8d64
8 changed files with 38 additions and 49 deletions

View file

@ -7,9 +7,3 @@ const IMPULSE = 10
@export var slot: StringName
@export var weapon: WeaponSubStateMachine
@export var team: Session.TEAMS
@rpc("any_peer","call_local","reliable")
func drop(direction: Vector3,new_position: Vector3):
apply_impulse(direction * IMPULSE)
global_position = new_position