some bugfixes

This commit is contained in:
Sebastian Moser
2024-07-16 18:56:34 +02:00
parent 4485209a15
commit dedc486f56
3 changed files with 6 additions and 5 deletions

View File

@@ -67,7 +67,8 @@ def cmd_guard():
unblock_yt()
# decrement time_current
state["yt_time_current"] -= 1
if state["yt_time_current"] > 0:
state["yt_time_current"] -= 1
write_state(state, pwd)