mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-02-24 23:47:43 +01:00
Location scanner should respect constant keys
This commit is contained in:
parent
b61822131d
commit
ed3979ed2a
@ -124,7 +124,7 @@ function userscript.inmod()
|
|||||||
key = e.key,
|
key = e.key,
|
||||||
keysecondary = e.keysecondary,
|
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.key = ""
|
||||||
e.keysecondary = ""
|
e.keysecondary = ""
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user