Skip to content
Snippets Groups Projects
Commit 80f91f23 authored by dg's avatar dg
Browse files

If the auto hotkey for items option is disbled, it wont do ti for the rod of recall either

git-svn-id: http://svn.net-core.org/repos/t-engine4@6241 51575b47-30f0-44d4-a5cc-537603b46e54
parent c6bcbd1c
No related branches found
No related tags found
No related merge requests found
......@@ -1293,7 +1293,7 @@ end
--- Call when an object is added
function _M:onAddObject(o)
mod.class.Actor.onAddObject(self, o)
if self.hotkey and o:attr("auto_hotkey") then
if self.hotkey and o:attr("auto_hotkey") and config.settings.tome.auto_hotkey_object then
local position
local name = o:getName{no_count=true, force_id=true, no_add_name=true}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment