Skip to content

Commit 7a9b3e6

Browse files
committed
Block labels: Play animation forward, not ahead
1 parent 7b93cb1 commit 7a9b3e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

addons/block_code/blocks/graphics/animationplayer_play.tres

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ items = []
1212
[sub_resource type="Resource" id="Resource_vnp2w"]
1313
script = ExtResource("1_xu43h")
1414
selected = 0
15-
items = ["ahead", "backwards"]
15+
items = ["forward", "backwards"]
1616

1717
[resource]
1818
script = ExtResource("1_emeuv")
@@ -23,7 +23,7 @@ category = "Graphics | Animation"
2323
type = 2
2424
variant_type = 0
2525
display_template = "play {animation: STRING} {direction: NIL}"
26-
code_template = "if {direction} == \"ahead\":
26+
code_template = "if {direction} == \"forward\":
2727
play({animation})
2828
else:
2929
play_backwards({animation})

0 commit comments

Comments
 (0)