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

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@6091 51575b47-30f0-44d4-a5cc-537603b46e54
parent 38bcce10
No related branches found
No related tags found
No related merge requests found
......@@ -338,7 +338,7 @@ function _M:generateMiniboss(e)
self.on_added = nil
end
if m.on_die then m.on_die_orig = m.on_die end
z m.on_die = function (self)
m.on_die = function (self)
if self.on_die_orig then self.on_die_orig(self) end
game.level.arena.danger = game.level.arena.danger - self.arenaPower
game.level.arena.bonus = game.level.arena.bonus + self.arenaScore
......
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