Made pause controller to be created on player if it exists

This commit is contained in:
2ndbeam 2024-04-30 21:24:51 +03:00
commit 93aa83dcaa
11 changed files with 129 additions and 17 deletions

View file

@ -28,7 +28,7 @@ class_name Shield
## Indicates if shield will charge
var can_recharge_shield: bool = false
## Indicates if laser will charge
var can_recharge_laser: bool = true
var can_recharge_laser: bool = false
func _ready() -> void:
shield_recharge_timer.timeout.connect(shield_timer_out)