Skip to content

Commit

Permalink
Oops, wrong comparison for check.
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin J. Laubach committed Nov 24, 2011
1 parent 99293f0 commit 90155c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion draw.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def show_particles(self, particles):
px = {}
for p in particles:
draw_cnt += 1
if DRAW_EVERY > 0 and draw_cnt % DRAW_EVERY == 1:
if DRAW_EVERY == 0 or draw_cnt % DRAW_EVERY == 1:
# Keep track of which positions already have something
# drawn to speed up display rendering
scaled_x = int(p.x * self.one_px)
Expand Down

0 comments on commit 90155c4

Please sign in to comment.