mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Location scanner should respect constant keys
This commit is contained in:
@@ -124,7 +124,7 @@ function userscript.inmod()
|
||||
key = e.key,
|
||||
keysecondary = e.keysecondary,
|
||||
}
|
||||
e.constant = not repeated and e:compute_context("") ~= e:compute_context(location)
|
||||
e.constant = e.constant or (not repeated and e:compute_context("") ~= e:compute_context(location))
|
||||
e.key = ""
|
||||
e.keysecondary = ""
|
||||
end
|
||||
|
Reference in New Issue
Block a user