fixed victory typo

This commit is contained in:
Peter 2019-01-21 09:33:47 +08:00
parent 379e0c976a
commit 90cf90aa13
2 changed files with 2 additions and 2 deletions

View File

@ -158,7 +158,7 @@ end
if settings.startup["017-rocket-victory"].value then if settings.startup["017-rocket-victory"].value then
script.on_event(defines.events.on_rocket_launched, function(event) 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") -- game.print("SpaceMod installed: not enabling victory")
else else
game.set_game_state{game_finished = true, player_won = true, can_continue = true} game.set_game_state{game_finished = true, player_won = true, can_continue = true}

View File

@ -1,6 +1,6 @@
{ {
"name": "017_science", "name": "017_science",
"version": "0.1.2", "version": "0.1.3",
"factorio_version": "0.16", "factorio_version": "0.16",
"title": "0.17 science conversion", "title": "0.17 science conversion",
"author": "npc_strider(morley376)", "author": "npc_strider(morley376)",