1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

cgen: remove g_ hack

This commit is contained in:
Alexander Medvednikov
2020-06-02 15:49:43 +02:00
parent 1139d3b458
commit 78f8a8aee6
3 changed files with 17 additions and 24 deletions

View File

@@ -92,7 +92,7 @@ fn get_bet(money int) int {
fn run_wheel(bet_nbr int, _bet int) int {
mut bet := _bet
rand.seed(time.now().unix)
rand.seed(int(time.now().unix))
winning_nbr := rand.next(50)
print('Roulette Wheel spinning... and stops on the number $winning_nbr which is a ')
if winning_nbr % 2 == 1 {