Skip to content

Commit 362d334

Browse files
committed
Changed cig_bots.py mode to PLAYER and it runs freaking fast.
1 parent 6f92cbd commit 362d334

File tree

2 files changed

+2
-25
lines changed

2 files changed

+2
-25
lines changed

examples/python/cig_bots.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from vizdoom import *
55
from random import choice
66

7-
game = Game()
7+
game = DoomGame()
88

99
game.set_vizdoom_path("../../bin/vizdoom")
1010

@@ -26,7 +26,7 @@
2626
game.add_game_args("+name AI");
2727

2828
# Multiplayer requires the use of asynchronous modes but
29-
game.set_mode(Mode.SPECTATOR)
29+
game.set_mode(Mode.PLAYER)
3030

3131
# game.set_window_visible(false)
3232

examples/python/min.py

-23
This file was deleted.

0 commit comments

Comments
 (0)