From 9a6b43c87d57e72baaedc0916e98f890e1932d40 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Mon, 28 Sep 2020 01:41:49 +0100 Subject: [PATCH] mazeseed: Update comment --- utils/strings.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/strings.lua b/utils/strings.lua index 4e8b059..aaf74c2 100644 --- a/utils/strings.lua +++ b/utils/strings.lua @@ -14,8 +14,8 @@ end -- the output of tonumber() is returned. -- Otherwise, the string is converted to a number via a simple hashing algorithm -- (caution: certainlly NOT crypto-secure!). - --- @source https://stackoverflow.com/a/2624210/1460422 +-- @param {string} str The string to convert. +-- @source https://stackoverflow.com/a/2624210/1460422 The idea came from here function M.makeseed(str) if type(str) == "number" then return str end if tonumber(str) ~= nil then return tonumber(str) end