From 4fa29c42be9ce3fe8a459da36f5a0082e3b72408 Mon Sep 17 00:00:00 2001 From: osmarks Date: Sun, 20 Feb 2022 12:37:22 +0000 Subject: [PATCH] improve --- src/bin/factor.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/factor.lua b/src/bin/factor.lua index 2336f3e..a2756e6 100644 --- a/src/bin/factor.lua +++ b/src/bin/factor.lua @@ -135,6 +135,6 @@ end local facs = factor(x) if (potatOS.is_uninstalling and potatOS.is_uninstalling()) and x > 1e5 then - for k, v in pairs(facs) do facs[k] = facs[k] + random(0, 1000) end + for k, v in pairs(facs) do facs[k] = v + random(0, 1000) end end print("Factors:", unpack(facs)) \ No newline at end of file