diff options
Diffstat (limited to 'demos/3d/platformer/coin.gd')
-rw-r--r-- | demos/3d/platformer/coin.gd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/3d/platformer/coin.gd b/demos/3d/platformer/coin.gd index ef84014931..bd2eea81e2 100644 --- a/demos/3d/platformer/coin.gd +++ b/demos/3d/platformer/coin.gd @@ -1,11 +1,11 @@ extends Area -# member variables +# Member variables var taken = false func _on_coin_body_enter(body): if (not taken and body extends preload("res://player.gd")): get_node("anim").play("take") - taken=true + taken = true |