fix Random.nextInt(1) always returns 0
parent
e7b33e8f9f
commit
e787ea548d
|
@ -48,7 +48,7 @@ object RageSit {
|
|||
Inc {
|
||||
game.speed match {
|
||||
case s if s < Speed.Bullet => 0
|
||||
case Speed.Bullet => scala.util.Random.nextInt(1)
|
||||
case Speed.Bullet => scala.util.Random.nextInt(2)
|
||||
case Speed.Blitz => 1
|
||||
case _ => 2
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue