mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-04-01 12:50:32 +02:00
fix task counter decrement
This commit is contained in:
parent
3fc2b81433
commit
4f76a8b0ce
@ -779,7 +779,7 @@ jQuery(() => {
|
||||
});
|
||||
|
||||
eventSource.on(event_types.MESSAGE_RECEIVED, () => {
|
||||
if (currentChatId == undefined) {
|
||||
if (currentChatId == undefined || currentTask == undefined) {
|
||||
return
|
||||
}
|
||||
if ($("#objective-check-frequency").val() > 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user