Changeset 391:d5381be5079f


Ignore:
Timestamp:
04/09/11 14:21:16 (12 years ago)
Author:
Simon Cross <hodgestar@…>
Branch:
default
Phase:
public
Rebase:
30646166353966343033393564623538336636653431303962646434373537303864353937326666
Message:

Also set _max_sprint_time when sprinting left.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skaapsteker/sprites/player.py

    r390 r391  
    210210            return
    211211        self.sprinting = 2
     212        self._max_sprint_time = float(len(self._me.tails)) / 4.0
    212213        self._sprint_start_time = time.time()
    213214
Note: See TracChangeset for help on using the changeset viewer.