fixed bugs

This commit is contained in:
Neptune-1
2018-12-08 15:58:47 +03:00
parent d59bdb0040
commit 2b0f206616

View File

@@ -62,12 +62,13 @@ def pl_anim():
play_animation.read_animation_file()
dtime = time_synch() - time.time()
ok = 0
t_st=0
while True:
if 'begin_anim' in command:
t_st = int(command[command.index('('):])
ok=1
if t_st == dtime+time.time and ok==1:
if t_st == dtime+time.time:
break
if 'synch' in command:
dtime=time_synch() - time.time()