Updated delay
This commit is contained in:
2
game.py
2
game.py
@ -85,7 +85,7 @@ class Game(gameUtils.Game):
|
|||||||
self.playSound(self.gunSpin)
|
self.playSound(self.gunSpin)
|
||||||
elif event.type == gameUtils.AnimFinish:
|
elif event.type == gameUtils.AnimFinish:
|
||||||
if event.objectID == self.gun.objectID and event.animationID == 'spin':
|
if event.objectID == self.gun.objectID and event.animationID == 'spin':
|
||||||
self.timeout("FireDelay",randint(0,2000)/1000)
|
self.timeout("FireDelay",randint(750,2000)/1000)
|
||||||
self.playSound(self.gunCyclinderStop)
|
self.playSound(self.gunCyclinderStop)
|
||||||
|
|
||||||
elif event.type == gameUtils.Timeout:
|
elif event.type == gameUtils.Timeout:
|
||||||
|
|||||||
Reference in New Issue
Block a user