File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 325325
326326-- run once
327327local function on_configuration_changed (data )
328- getMetaItemData ()
329328 if not data or not data .mod_changes then
330329 return
331330 end
@@ -337,6 +336,7 @@ local function on_configuration_changed(data)
337336 init_global ()
338337 init_forces ()
339338 init_players ()
339+ update_gui ()
340340 else
341341 if oldVersion < " 0.1.3" then
342342 init_global ()
@@ -347,6 +347,7 @@ local function on_configuration_changed(data)
347347 -- update/change gui for all players via game.players.gui ?
348348 end
349349 end
350+ getMetaItemData ()
350351 remove_invalid_items ()
351352 -- check for other mods
352353end
@@ -548,5 +549,6 @@ remote.add_interface("mi",
548549 init = function ()
549550 init_global ()
550551 init_players ()
552+ update_gui ()
551553 end
552554 })
Original file line number Diff line number Diff line change 11{
22 "name" : " ModuleInserter" ,
3- "version" : " 0.1.3 " ,
3+ "version" : " 0.1.31 " ,
44 "title" : " Module Inserter" ,
55 "author" : " Choumiko" ,
66 "homepage" : " " ,
7- "dependencies" : [" base >= 0.12.11 " ],
7+ "dependencies" : [" base >= 0.12.12 " ],
88 "description" : " Mass insert modules into machines with pocket bots"
99}
You can’t perform that action at this time.
0 commit comments