From a536cc8f41712d4a1efc61e21e5d166abe47cf65 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Thu, 30 Oct 2025 19:22:39 -0500 Subject: [PATCH] split assignment and return statement for gdscript --- hank/Random.hx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hank/Random.hx b/hank/Random.hx index a3c87ed..e5a7e43 100644 --- a/hank/Random.hx +++ b/hank/Random.hx @@ -44,7 +44,8 @@ class Random { * @return The new initial seed. */ public inline function resetInitialSeed():Int { - return initialSeed = rangeBound(Std.int(Math.random() * MAX_VALUE_INT)); + initialSeed = rangeBound(Std.int(Math.random() * MAX_VALUE_INT)); + return initialSeed; } /**