Skip to content
Snippets Groups Projects
Commit 7f3fc6c7 authored by dg's avatar dg
Browse files

oups!

git-svn-id: http://svn.net-core.org/repos/t-engine4@4439 51575b47-30f0-44d4-a5cc-537603b46e54
parent b4a5029a
No related branches found
No related tags found
No related merge requests found
......@@ -343,6 +343,7 @@ function _M:updateKeys(kind)
end
function _M:cancel()
--[[
self.actor.unused_stats = self.actor_dup.unused_stats
self.actor.unused_talents = self.actor_dup.unused_talents
self.actor.unused_generics = self.actor_dup.unused_generics
......@@ -366,6 +367,11 @@ function _M:cancel()
end
end
self.actor.last_learnt_talents = self.actor_dup.last_learnt_talents
]]
self.actor:replaceWith(self.actor_dup)
self.actor.changed = true
self.actor:removeAllMOs()
if game.level and self.actor.x then game.level.map:updateMap(self.actor.x, self.actor.y) end
end
function _M:tabTabs()
......
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