mirror of
https://github.com/imezx/Warp.git
synced 2025-04-24 15:10:03 +00:00
Update Key.luau
Unnecessarily calling `tostring` on the key.
This commit is contained in:
parent
9aaa382278
commit
59488be401
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
--!strict
|
--!strict
|
||||||
return function(): number?
|
return function(): string?
|
||||||
return tonumber(string.sub(tostring(Random.new():NextNumber()), 3, 7)) -- 4 digits
|
return string.sub(Random.new():NextNumber(), 3, 7) -- 4 digits
|
||||||
end
|
end
|
Loading…
Reference in a new issue