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
=== modified file 'typuspocus/game.py'
--- typuspocus/game.py 2010-05-12 14:10:26 +0000
+++ typuspocus/game.py 2013-05-30 04:59:29 +0000
@@ -222,7 +222,7 @@
222 else:222 else:
223 sounds.tick2()223 sounds.tick2()
224 self.tick_count = not self.tick_count224 self.tick_count = not self.tick_count
225 pygame.time.set_timer(CLOCK_TICK, tick_rate)225 pygame.time.set_timer(CLOCK_TICK, int(tick_rate+.5))
226 if DEBUG: print "tickrate", tick_rate226 if DEBUG: print "tickrate", tick_rate
227227
228228

Subscribers

People subscribed via source and target branches