mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
time: rewrite unix() function
This commit is contained in:

committed by
Alexander Medvednikov

parent
67912c692b
commit
286a0a1371
@ -292,7 +292,7 @@ fn main() {
|
||||
game.sdl.jids[1] = -1
|
||||
game.sdl.set_sdl_context(WinWidth, WinHeight, Title)
|
||||
game.font = C.TTF_OpenFont(FontName.str, TextSize)
|
||||
seed := time.now().uni
|
||||
seed := time.now().unix
|
||||
mut game2 := &Game{ font: 0 }
|
||||
game2.sdl = game.sdl
|
||||
game2.font = game.font
|
||||
|
Reference in New Issue
Block a user