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:
parent
4020a3ab8c
commit
92fb9c8b94
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user