Code: Select all
self:targetMode("exclusive", msg, coroutine.running(), typ)
if typ.nowarning then self.target_warning = false end
if self.target.target.x and config.settings.auto_accept_target and not typ.immediate_keys and not typ.nolock and not typ.no_restrict then
self.target_co = nil
self:targetMode(false, false) self.tooltip_x, self.tooltip_y = nil, nil
end
Code: Select all
if typ.nowarning then self.target_warning = false end