change logging msg
This commit is contained in:
parent
90e11febc5
commit
39d7f0a827
@ -26,7 +26,7 @@ def handle_keys(env, agent, game_ui, factory):
|
|||||||
game_ui.move()
|
game_ui.move()
|
||||||
elif event.key == pg.K_SPACE:
|
elif event.key == pg.K_SPACE:
|
||||||
if env.field[agent.y][agent.x].mine:
|
if env.field[agent.y][agent.x].mine:
|
||||||
print('Defusing mine')
|
print('Defusing')
|
||||||
env.mine_count -= 1
|
env.mine_count -= 1
|
||||||
env.field[agent.y][agent.x] = factory.create_tile(
|
env.field[agent.y][agent.x] = factory.create_tile(
|
||||||
IMAGES[env.field[agent.y][agent.x].number].parent
|
IMAGES[env.field[agent.y][agent.x].number].parent
|
||||||
|
Loading…
Reference in New Issue
Block a user