This commit is contained in:
PreLeyZero 2024-02-23 16:54:03 +01:00
parent c378fb7bf0
commit 7f91fba0d8
3 changed files with 10 additions and 1 deletions

View file

@ -1,4 +1,9 @@
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
Version: 1.0.31
Date: 23.02.2024
Bugfixes:
- fixed a crash on the KI gui
---------------------------------------------------------------------------------------------------
Version: 1.0.30 Version: 1.0.30
Date: 20.02.2024 Date: 20.02.2024
Features: Features:

View file

@ -1,6 +1,6 @@
{ {
"name": "248k", "name": "248k",
"version": "1.0.30", "version": "1.0.31",
"title": "248k Mod", "title": "248k Mod",
"author": "PreLeyZero", "author": "PreLeyZero",
"factorio_version": "1.1", "factorio_version": "1.1",

View file

@ -603,6 +603,10 @@ function gui.on_change(e)
end end
end end
if not e.element.valid then
return
end
local parent_gui = e.element.tags.parent_gui local parent_gui = e.element.tags.parent_gui
local action = e.element.tags.action local action = e.element.tags.action
if parent_gui == "248k_migration_notice" then if parent_gui == "248k_migration_notice" then