Skip to content
Snippets Groups Projects
Commit 5e077e20 authored by DarkGod's avatar DarkGod
Browse files

fix

parent b36b7375
No related branches found
No related tags found
No related merge requests found
......@@ -2660,7 +2660,7 @@ function _M:die(src, death_note)
end)
end
if src.fireTalentCheck then src:fireTalentCheck("callbackOnKill", self, death_note) end
if src and src.fireTalentCheck then src:fireTalentCheck("callbackOnKill", self, death_note) end
if src and ((src.resolveSource and src:resolveSource().player) or src.player) then
-- Achievements
......
game/modules/tome/data/gfx/deathbox-ui/border_hor_left.png

4.17 KiB

game/modules/tome/data/gfx/deathbox-ui/border_hor_middle.png

5.5 KiB

game/modules/tome/data/gfx/deathbox-ui/border_hor_right.png

4.17 KiB

......@@ -58,13 +58,13 @@ You can dump your character data to a file to remember her/him forever, or you c
self:loadUI{
{left=0, top=0, ui=self.c_desc},
{left=0, top=self.c_desc.h, ui=self.c_achv},
{left=5, top=self.c_desc.h+self.c_achv.h, padding_h=10, ui=Separator.new{dir="vertical", size=self.iw - 10}},
{left=5, top=self.c_desc.h+self.c_achv.h, padding_h=10, ui=Separator.new{ui="deathbox", dir="vertical", size=self.iw - 10}},
{left=0, bottom=0, ui=self.c_list},
}
else
self:loadUI{
{left=0, top=0, ui=self.c_desc},
{left=5, top=self.c_desc.h, padding_h=10, ui=Separator.new{dir="vertical", size=self.iw - 10}},
{left=5, top=self.c_desc.h, padding_h=10, ui=Separator.new{ui="deathbox", dir="vertical", size=self.iw - 10}},
{left=0, bottom=0, ui=self.c_list},
}
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