This commit is contained in:
Spencer Killen 2023-11-11 21:32:30 -07:00
parent d221962270
commit cf12a96a75
Signed by: sjkillen
GPG Key ID: 3AF3117BA6FBB75B
1 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,7 @@ func _input(event):
else:
$NoChargesSound.play()
func _process(delta):
func _process(_delta):
transform.origin = target.global_position
%camera_spot.look_at(target.global_position)
if not camera_tweening:
@ -72,6 +72,7 @@ func release():
%ChargeReleaseSound.play()
var billiard := target.get_billiard()
billiard.hit((target.global_position - %camera_spot.global_position).normalized(), get_charge())
TAS_System.StartIncrementingFrames()
%radial_ui.set_charge(0.0)
%ChargeSound.stop()