mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-06 14:10:55 +03:00
General proofreading (#1262)
* General proofreading for grammar and spelling * General formatting * Addition of appropriate literals where appropriate, i.e. `&"foo"` for `StringName` cases and `^"foo/bar"` for `NodePath` cases
This commit is contained in:
@@ -5,4 +5,4 @@ var taken := false
|
||||
|
||||
func _on_body_enter(body: Node2D) -> void:
|
||||
if not taken and body is Player:
|
||||
($AnimationPlayer as AnimationPlayer).play("taken")
|
||||
($AnimationPlayer as AnimationPlayer).play(&"taken")
|
||||
|
||||
@@ -11,5 +11,5 @@ func disable() -> void:
|
||||
if disabled:
|
||||
return
|
||||
|
||||
($AnimationPlayer as AnimationPlayer).play("shutdown")
|
||||
($AnimationPlayer as AnimationPlayer).play(&"shutdown")
|
||||
disabled = true
|
||||
|
||||
Reference in New Issue
Block a user