Mercurial > pyntnclick
comparison gamelib/speech.py @ 112:a2c09200a433
Remove check for None sound -- sound is never None.
author | Simon Cross <simon@simonx> |
---|---|
date | Tue, 24 Aug 2010 14:44:29 +0200 |
parents | 545dee3bd8e9 |
children |
comparison
equal
deleted
inserted
replaced
111:18ffaaaa27e7 | 112:a2c09200a433 |
---|---|
39 | 39 |
40 | 40 |
41 def say(thing_name, text): | 41 def say(thing_name, text): |
42 """Play text as speech.""" | 42 """Play text as speech.""" |
43 sound = get_speech(thing_name, text) | 43 sound = get_speech(thing_name, text) |
44 if sound is not None: | 44 sound.play() |
45 sound.play() |