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

Switching control of your character will not prevent respecing talents

git-svn-id: http://svn.net-core.org/repos/t-engine4@4751 51575b47-30f0-44d4-a5cc-537603b46e54
parent 487e3f92
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,7 @@ function _M:init(t, no_default)
t.rank = t.rank or 3
t.old_life = 0
t.money_value_multiplier = 1 -- changes amounts in gold piles and such
t.money_value_multiplier = t.money_value_multiplier or 1 -- changes amounts in gold piles and such
mod.class.Actor.init(self, t, no_default)
engine.interface.PlayerHotkeys.init(self, t)
......@@ -88,7 +88,7 @@ function _M:init(t, no_default)
self.descriptor = self.descriptor or {}
self.died_times = self.died_times or {}
self.last_learnt_talents = { class={}, generic={} }
self.last_learnt_talents = self.last_learnt_talents or { class={}, generic={} }
end
function _M:onBirth(birther)
......
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