Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Derp

  • Loading branch information...
commit 4ee5cade7c1b2dbcefead2abf4b8a3efad1841ed 1 parent c0f2cea
@aehlke aehlke authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  main.py
View
3  main.py
@@ -221,7 +221,8 @@ def start_screen_visible():
if muzzle_flash.current_texture_index >= len(muzzle_flash.textures):
muzzle_flash.current_texture_index = 0
muzzle_flash.texture = muzzle_flash.textures[muzzle_flash.current_texture_index]
- rp.mark_for_draw(muzzle_flash)
+ if not start_screen_visible() and player.health > 0:
+ rp.mark_for_draw(muzzle_flash)
else:
last_shot_step = None
Please sign in to comment.
Something went wrong with that request. Please try again.