Browse Source

Merge pull request #10075 from KleidonBD/patch-1

Fix "or_greater"/"or_less" code example
Max Hilbrunner 9 months ago
parent
commit
eee29a2911
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tutorials/scripting/gdscript/gdscript_exports.rst

+ 1 - 1
tutorials/scripting/gdscript/gdscript_exports.rst

@@ -164,7 +164,7 @@ The limits can be only for the slider if you add the hints "or_greater" and/or "
 
 ::
 
-    @export_range(0, 100, 1, "or_greater", "or_less")
+    @export_range(0, 100, 0.1, "or_greater", "or_less") var l
 
 .. TODO: Document other hint strings usable with export_range.