Add prefix _ for unused parameter
This commit is contained in:
parent
f2086f6360
commit
4906768091
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ var speed : int = 0
|
||||||
var damage : int = 0
|
var damage : int = 0
|
||||||
var dir = 0
|
var dir = 0
|
||||||
|
|
||||||
func _physics_process(delta):
|
func _physics_process(_delta):
|
||||||
var move_dir = Vector2(1,0).rotated(dir)
|
var move_dir = Vector2(1,0).rotated(dir)
|
||||||
global_position += (move_dir * speed)
|
global_position += (move_dir * speed)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue