Skip to content
Snippets Groups Projects
Commit 65110aad authored by DarkGod's avatar DarkGod
Browse files

Fix The Fragmented Essence of Harkor'Zun

parent 113c741a
No related branches found
No related tags found
No related merge requests found
......@@ -116,9 +116,10 @@ newEntity{ base = "BASE_NPC_XORN",
for i = 1, 4 do
local x, y = util.findFreeGrid(self.x, self.y, 15, true, {[engine.Map.ACTOR]=true})
if x and y then
local m = self:clone()
local m = self:cloneActor()
m:removeAllMOs()
m.on_added_to_level = nil
m.on_die = self.on_die
m.x, m.y = nil, nil
game.zone:addEntity(game.level, m, "actor", x, y)
all[#all+1] = m
......
This diff is collapsed.
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