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

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@465 51575b47-30f0-44d4-a5cc-537603b46e54
parent 34885949
No related branches found
No related tags found
No related merge requests found
......@@ -37,9 +37,11 @@ function _M:init(t, no_default)
__uids[self.uid] = self
for k, e in pairs(t) do
local ee = e
if type(e) == "table" and not e.__CLASSNAME then ee = table.clone(e, true) end
self[k] = ee
if k ~= "__CLASSNAME" then
local ee = e
if type(e) == "table" and not e.__CLASSNAME then ee = table.clone(e, true) end
self[k] = ee
end
end
if self.color then
......
......@@ -241,7 +241,7 @@ newTalent{
game.player.player = true
game.hotkeys_display.actor = self.summoner
game.target.source_actor = self.summoner
Map:setViewerActor(self.summoner)
engine.Map:setViewerActor(self.summoner)
game.paused = false
game.level.map:moveViewSurround(self.summoner.x, self.summoner.y, 8, 8)
end
......
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