From 90cf90aa139af457985a7088b35f63d84c70e812 Mon Sep 17 00:00:00 2001 From: Peter Date: Mon, 21 Jan 2019 09:33:47 +0800 Subject: [PATCH] fixed victory typo --- 017_science/control.lua | 2 +- 017_science/info.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)",