remove print statements; increase charger range
This commit is contained in:
parent
2f30c9f04b
commit
7d4a6938dc
3 changed files with 1 additions and 10 deletions
|
|
@ -42,8 +42,7 @@ func _not_charging_process(delta: float) -> void:
|
|||
|
||||
var player_pos := Player.instance.global_position
|
||||
|
||||
if global_position.distance_to(player_pos) > 15.:
|
||||
print("too far")
|
||||
if global_position.distance_to(player_pos) > 25.:
|
||||
coolup = 0.
|
||||
return
|
||||
|
||||
|
|
@ -57,7 +56,6 @@ func _not_charging_process(delta: float) -> void:
|
|||
if coolup > CHARGE_COOLUP:
|
||||
_start_charge()
|
||||
else:
|
||||
print("raycast failed")
|
||||
coolup = 0.
|
||||
|
||||
func _charging_process(delta: float) -> void:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue