@ -336,6 +336,11 @@ function InfoOverlay:init()
end
function InfoOverlay:reset()
InfoOverlay.super.reset(self)
self.subviews.subset:setOption('all')
function InfoOverlay:get_key()
if info.current_mode == df.info_interface_mode_type.CREATURES then
if creatures.current_mode == df.unit_list_mode_type.PET then
@ -247,6 +247,11 @@ function BurrowAssignmentOverlay:register_handlers()
function BurrowAssignmentOverlay:reset()
BurrowAssignmentOverlay.super.reset(self)
function BurrowAssignmentOverlay:matches_filters(unit_id)
local unit = df.unit.find(unit_id)
if not unit then return false end