From 43e847dacc7a506a2c146d1383b65cefafddeeea Mon Sep 17 00:00:00 2001 From: Pete Garcin <14925581+rawktron@users.noreply.github.com> Date: Wed, 27 Dec 2023 10:52:36 -0400 Subject: [PATCH] Guard DEPRECATED transition_id overwriting transition_url (#100) --- monarch/monarch.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/monarch/monarch.lua b/monarch/monarch.lua index 2862861..ceb83ce 100644 --- a/monarch/monarch.lua +++ b/monarch/monarch.lua @@ -520,7 +520,9 @@ local function load(screen) msg.post(screen.proxy, MSG_ENABLE) elseif screen.factory then screen.factory_ids = collectionfactory.create(screen.factory) - screen.transition_url = screen.factory_ids[screen.transition_id] + if screen.transition_id then + screen.transition_url = screen.factory_ids[screen.transition_id] + end screen.focus_url = screen.factory_ids[screen.focus_id] end screen.loaded = true