Skip to content
Snippets Groups Projects
Commit 9aeee6eb authored by DarkGod's avatar DarkGod
Browse files

Fixed crash on birth screen when framebuffer video option is disabled

parent c0a24b06
No related branches found
No related tags found
No related merge requests found
......@@ -137,7 +137,7 @@ function _M:init(title, actor, order, at_end, quickbirth, w, h)
on_drawitem=function(item, s, startx, h)
if not item.def or not item.def.display_entity32 then return startx end
local sc = item.def.display_entity32:getEntityFinalSurface(self.tiles, h, h)
s:merge(sc, startx, 0)
if sc then s:merge(sc, startx, 0) end
return startx + h
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