FINISHED DAMN DROP SYSTEM
This commit is contained in:
parent
3302fcfc96
commit
100afe5e51
17 changed files with 151 additions and 25 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue