diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index 63be9ca4177..4270e72b34c 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -313,7 +313,7 @@
-
+
Set seed for the random number generator.
@@ -322,7 +322,7 @@
-
+
Random from seed, pass a seed and an array with both number and new seed is returned.
@@ -12445,6 +12445,14 @@ This approximation makes straight segments between each point, then subdivides t
else, empty String "".
+
+
+
+
+
+
+
+
@@ -23548,10 +23556,10 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8)
- UDP packet peer.
+ UDP packet peer.
- UDP packet peer. Can be used to send raw UDP packets as well as [Variant]s.
+ UDP packet peer. Can be used to send raw UDP packets as well as [Variant]s.
@@ -37594,6 +37602,12 @@ This method controls whether the position between two cached points is interpola
Return the right side of the string from a given position.
+
+
+
+
+
+
@@ -41177,6 +41191,8 @@ This method controls whether the position between two cached points is interpola
+
+
@@ -41191,6 +41207,8 @@ This method controls whether the position between two cached points is interpola
+
+
diff --git a/modules/gdscript/gd_functions.cpp b/modules/gdscript/gd_functions.cpp
index 077255064d7..90528614b34 100644
--- a/modules/gdscript/gd_functions.cpp
+++ b/modules/gdscript/gd_functions.cpp
@@ -1309,12 +1309,12 @@ MethodInfo GDFunctions::get_info(Function p_func) {
return mi;
} break;
case MATH_SEED: {
- MethodInfo mi("seed",PropertyInfo(Variant::REAL,"seed"));
+ MethodInfo mi("seed",PropertyInfo(Variant::INT,"seed"));
mi.return_val.type=Variant::NIL;
return mi;
} break;
case MATH_RANDSEED: {
- MethodInfo mi("rand_seed",PropertyInfo(Variant::REAL,"seed"));
+ MethodInfo mi("rand_seed",PropertyInfo(Variant::INT,"seed"));
mi.return_val.type=Variant::ARRAY;
return mi;
} break;