Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fcurella committed Nov 23, 2022
1 parent 3c34eba commit eb5bf5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions source/main.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
local helpers = import("helpers")
local utils = import("utils")
local helpers = import("helpers/main")
local utils = import("utils/main")
local applyMiddleware = import("applyMiddleware")
local combineReducers = import("combineReducers")
local compose = import("compose")
Expand Down
2 changes: 1 addition & 1 deletion source/utils/actionTypes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ for i = 65, 90 do table.insert(charset, string.char(i)) end
for i = 97, 122 do table.insert(charset, string.char(i)) end

local function randomString(length)
math.randomseed(os.time())
math.randomseed(playdate.getSecondsSinceEpoch())

if length > 0 then
return randomString(length - 1) .. charset[math.random(1, #charset)]
Expand Down

0 comments on commit eb5bf5f

Please sign in to comment.