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

VCasino was printing the opposite of intended

This commit is contained in:
Carl Bordum Hansen 2019-07-15 16:43:22 +02:00 committed by Alexander Medvednikov
parent 4020a3ab8c
commit 92fb9c8b94

View File

@ -81,7 +81,7 @@ fn get_bet(money int) int {
println('error: $line is not heigher than 1.') println('error: $line is not heigher than 1.')
continue continue
} else if bet > money { } else if bet > money {
println('error: $line is not heigher than your money.') println('error: $line is more money than you have.')
} }
} }
return bet return bet