mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-22 15:35:55 +02:00
Fixed high memory usage issue
This commit is contained in:
@@ -95,6 +95,8 @@ context.macro = function(timeout, name, hotkey, callback, parent)
|
||||
if context.storage._macros[name] == true then
|
||||
macro.setOn()
|
||||
end
|
||||
else
|
||||
macro.enabled = true -- unnamed macros are enabled by default
|
||||
end
|
||||
|
||||
local desc = "lua"
|
||||
|
Reference in New Issue
Block a user