remove unwanted shortingof sllep
This commit is contained in:
parent
5773c6e1bb
commit
7d7281db06
4
main.py
4
main.py
@ -168,11 +168,11 @@ def main():
|
|||||||
elif action == const.Action.GO:
|
elif action == const.Action.GO:
|
||||||
minefield.agent.go()
|
minefield.agent.go()
|
||||||
|
|
||||||
time.sleep(const.ACTION_INTERVAL/5)
|
time.sleep(const.ACTION_INTERVAL)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
running = False
|
running = False
|
||||||
time.sleep(const.ACTION_INTERVAL/5)
|
time.sleep(const.ACTION_INTERVAL)
|
||||||
#'for event in pygame.event.get():
|
#'for event in pygame.event.get():
|
||||||
# if event.type == pygame.QUIT:
|
# if event.type == pygame.QUIT:
|
||||||
# running = False
|
# running = False
|
||||||
|
Loading…
Reference in New Issue
Block a user