
07-31-2009, 01:37 PM
|
Registered User
|
 |
Join Date: Oct 2008
Posts: 1,133
|
|
Quote:
Originally Posted by DustyPorViva
Remember that random also creates a floating point, so you'd most likely want to check if 'success' was <=1, instead of just == 1. Can also simplify the matter by using int() on the random value.
|
He is using int() :S |
|
|