Add @ to onready annotated variables in docs
This commit is contained in:
parent
d091995e05
commit
70da14db68
2 changed files with 2 additions and 2 deletions
|
|
@ -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"):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue