next soundboard fix for auto-timer
This commit is contained in:
parent
cc99e2b49d
commit
14108a8077
Binary file not shown.
@ -428,8 +428,9 @@ def api_soundboard_auto_start():
|
|||||||
if dmax < dmin: dmax = dmin
|
if dmax < dmin: dmax = dmin
|
||||||
|
|
||||||
delay = rand_between(dmin, dmax) * 60
|
delay = rand_between(dmin, dmax) * 60
|
||||||
with auto_random_lock:
|
# erst laufenden Timer stoppen, bevor wir Lock nehmen
|
||||||
_stop_auto_random_internal()
|
_stop_auto_random_internal()
|
||||||
|
with auto_random_lock:
|
||||||
state.auto_random_active = True
|
state.auto_random_active = True
|
||||||
auto_random_params['imin'] = imin
|
auto_random_params['imin'] = imin
|
||||||
auto_random_params['imax'] = imax
|
auto_random_params['imax'] = imax
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user