Merge lp:~alecu/typuspocus/fix-1185672 into lp:typuspocus

Proposed by Alejandro J. Cura
Status: Merged
Merged at revision: 392
Proposed branch: lp:~alecu/typuspocus/fix-1185672
Merge into: lp:typuspocus
Diff against target: 10 lines (+1/-1)
1 file modified
typuspocus/game.py (+1/-1)
To merge this branch: bzr merge lp:~alecu/typuspocus/fix-1185672
Reviewer Review Type Date Requested Status
Facundo Batista Pending
Review via email: mp+166436@code.launchpad.net

Commit message

pygame.time.set_timer() expects an integer nowadays

Description of the change

pygame.time.set_timer() expects an integer nowadays

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'typuspocus/game.py'
2--- typuspocus/game.py 2010-05-12 14:10:26 +0000
3+++ typuspocus/game.py 2013-05-30 04:59:29 +0000
4@@ -222,7 +222,7 @@
5 else:
6 sounds.tick2()
7 self.tick_count = not self.tick_count
8- pygame.time.set_timer(CLOCK_TICK, tick_rate)
9+ pygame.time.set_timer(CLOCK_TICK, int(tick_rate+.5))
10 if DEBUG: print "tickrate", tick_rate
11
12

Subscribers

People subscribed via source and target branches