Случайные числа теперь действительно случайные
This commit is contained in:
parent
eb4ccdb98f
commit
478a6ee109
1 changed files with 4 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
if love.system.getOS() ~= 'DOS' then
|
-- if love.system.getOS() ~= 'DOS' then
|
||||||
-- local lick = require "3rd.lick"
|
-- local lick = require "3rd.lick"
|
||||||
-- lick.updateAllFiles = true
|
-- lick.updateAllFiles = true
|
||||||
end
|
-- end
|
||||||
|
|
||||||
local platform = require "platform.platform"
|
local platform = require "platform.platform"
|
||||||
require "tilemap"
|
require "tilemap"
|
||||||
|
|
@ -22,6 +22,8 @@ end
|
||||||
function love.load()
|
function love.load()
|
||||||
platform.init()
|
platform.init()
|
||||||
|
|
||||||
|
math.randomseed(os.time())
|
||||||
|
|
||||||
bf = love.graphics.newImageFont("res/font.png",
|
bf = love.graphics.newImageFont("res/font.png",
|
||||||
" abcdefghijklmnopqrstuvwxyz" ..
|
" abcdefghijklmnopqrstuvwxyz" ..
|
||||||
"ABCDEFGHIJKLMNOPQRSTUVWXYZ0" ..
|
"ABCDEFGHIJKLMNOPQRSTUVWXYZ0" ..
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue