From 5ab0ac0e6268f4f757e1cdd7e81b2716b8cf620a Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Mon, 16 Nov 2026 19:10:11 +0900 Subject: [PATCH] . --- exp_scenario/module/gui/vlayer.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/exp_scenario/module/gui/vlayer.lua b/exp_scenario/module/gui/vlayer.lua index 30f396e1..5a63af33 100644 --- a/exp_scenario/module/gui/vlayer.lua +++ b/exp_scenario/module/gui/vlayer.lua @@ -257,6 +257,7 @@ local function surface_index_from_element(controls) local surface = 0 if element then local surface_name = element.items[element.selected_index] + ---@diagnostic disable-next-line: undefined-field local s = game.surfaces[surface_name] if surface_name and s then surface = s.index