fix sprites
This commit is contained in:
parent
22357e3169
commit
f5df806196
@ -304,7 +304,7 @@ class AOCharMovie(QtGui.QLabel):
|
|||||||
path = BASE_PATH + "characters/" + base.format(char=char, prefix=prefix, emote=emote) + ext
|
path = BASE_PATH + "characters/" + base.format(char=char, prefix=prefix, emote=emote) + ext
|
||||||
if exists(path):
|
if exists(path):
|
||||||
return path, ext
|
return path, ext
|
||||||
return None
|
return None, None
|
||||||
|
|
||||||
def play(self, pChar, pEmote, emotePrefix, scaling = SCALING_AUTO, singleFrameDuration = -1):
|
def play(self, pChar, pEmote, emotePrefix, scaling = SCALING_AUTO, singleFrameDuration = -1):
|
||||||
if not len(pEmote):
|
if not len(pEmote):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user