diff --git a/017_science/control.lua b/017_science/control.lua index 248c5f1..6e68200 100644 --- a/017_science/control.lua +++ b/017_science/control.lua @@ -158,7 +158,7 @@ end if settings.startup["017-rocket-victory"].value then script.on_event(defines.events.on_rocket_launched, function(event) - if game.active_game.active_mods["SpaceMod"] then + if game.active_mods["SpaceMod"] then -- game.print("SpaceMod installed: not enabling victory") else game.set_game_state{game_finished = true, player_won = true, can_continue = true} diff --git a/017_science/info.json b/017_science/info.json index da991a8..a25e923 100644 --- a/017_science/info.json +++ b/017_science/info.json @@ -1,6 +1,6 @@ { "name": "017_science", - "version": "0.1.2", + "version": "0.1.3", "factorio_version": "0.16", "title": "0.17 science conversion", "author": "npc_strider(morley376)",