summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2020-12-19 21:28:22 +0100
committerGitHub <noreply@github.com>2020-12-19 21:28:22 +0100
commit01c003dfed657c38cf81efddf9441f975020efc7 (patch)
tree1f3fef57e074d0dedc061f48903b12d3a1a93614
parent43828ebb3931b9117ad57f08cc457e052fdfd631 (diff)
parentecf0948f3550c272c098235ba860914a4f65c881 (diff)
downloadredot-cpp-01c003dfed657c38cf81efddf9441f975020efc7.tar.gz
Merge pull request #484 from Jummit/patch-1
Remove semicolons from GDScript example
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index e960be6..301add9 100644
--- a/README.md
+++ b/README.md
@@ -292,8 +292,8 @@ platform-independent manner.
Once your GDNative library is compiled and referenced in a `.gdns` file, you can use it in GDScript or C#. Here's an example with GDScript:
```gdscript
-var simpleclass = load("res://simpleclass.gdns").new();
-simpleclass.method("Test argument");
+var simpleclass = load("res://simpleclass.gdns").new()
+simpleclass.method("Test argument")
```
### Using Godot classes in C++