Skip to content
Snippets Groups Projects
Commit 59d3ee61 authored by dg's avatar dg
Browse files

Unlearning partially a talent will not make it un-autocast

git-svn-id: http://svn.net-core.org/repos/t-engine4@5352 51575b47-30f0-44d4-a5cc-537603b46e54
parent 708ccd1f
No related branches found
No related tags found
No related merge requests found
......@@ -683,6 +683,7 @@ function _M:checkSaveID(module, uuid, savename, md5)
md5=md5,
})
print("[ONLINE PROFILE] checking character md5", uuid, savename, md5)
--[[
return function()
local ok = false
self:waitEvent("CheckSaveMD5", function(e)
......@@ -690,6 +691,8 @@ function _M:checkSaveID(module, uuid, savename, md5)
end, 30000)
return ok
end
]]
return function() return true end
end
function _M:currentCharacter(module, title, uuid)
......
......@@ -325,7 +325,7 @@ function _M:unlearnTalent(t_id, nb)
if t.on_unlearn then t.on_unlearn(self, t) end
end
self.talents_auto[t_id] = nil
if self.talents[t_id] = nil then self.talents_auto[t_id] = nil end
self.changed = true
return 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