From 49067680910a6abc34ad269c886a8226959b1e9d Mon Sep 17 00:00:00 2001 From: Moe Poi ~ Date: Wed, 18 Oct 2023 11:10:07 +0700 Subject: [PATCH] Add prefix _ for unused parameter --- scripts/bullets/bullet_1.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/bullets/bullet_1.gd b/scripts/bullets/bullet_1.gd index 5952d2e..56b7d8d 100644 --- a/scripts/bullets/bullet_1.gd +++ b/scripts/bullets/bullet_1.gd @@ -6,7 +6,7 @@ var speed : int = 0 var damage : int = 0 var dir = 0 -func _physics_process(delta): +func _physics_process(_delta): var move_dir = Vector2(1,0).rotated(dir) global_position += (move_dir * speed)