FINISHED DAMN DROP SYSTEM

This commit is contained in:
Rendo 2025-11-28 18:03:30 +05:00
commit 100afe5e51
17 changed files with 151 additions and 25 deletions

View file

@ -19,4 +19,16 @@ func on_body_entered(body: Node3D):
"slot": body.slot
})
weapon_system.on_weapon_added(weapon)
body.queue_free()
Session.despawn(body.get_path())
func start_temp_ignore():
if is_multiplayer_authority() == false:
return
monitoring = false
get_tree().create_timer(0.5).timeout.connect(stop_temp_ignore)
func stop_temp_ignore():
if is_multiplayer_authority() == false:
return
monitoring = true