Add @ to onready annotated variables in docs
This commit is contained in:
committed by
Rémi Verschelde
parent
d091995e05
commit
70da14db68
@@ -52,7 +52,7 @@
|
||||
[codeblocks]
|
||||
[gdscript]
|
||||
var _can_shoot = true
|
||||
onready var _cool_down = $CoolDownTimer
|
||||
@onready var _cool_down = $CoolDownTimer
|
||||
|
||||
func shoot():
|
||||
if _can_shoot and Input.is_action_pressed("shoot"):
|
||||
|
||||
Reference in New Issue
Block a user