check for settings in the ATTRS, not the args

develop
Myk Taylor 2023-02-13 09:26:13 -08:00
parent 853859e119
commit e5072a4f64
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

@ -708,9 +708,9 @@ ZScreen.ATTRS{
} }
function ZScreen:preinit(args) function ZScreen:preinit(args)
if args.initial_pause == nil then if self.ATTRS.initial_pause == nil then
args.initial_pause = DEFAULT_INITIAL_PAUSE or args.initial_pause = DEFAULT_INITIAL_PAUSE or
(args.pass_mouse_clicks == false) (self.ATTRS.pass_mouse_clicks == false)
end end
end end