diff --git a/info.json b/info.json index fc96c98e..60c14511 100644 --- a/info.json +++ b/info.json @@ -1,12 +1,12 @@ { "name": "stdlib", - "version": "1.0.2", + "version": "1.0.3", "factorio_version": "0.17", "title": "Factorio Standard Library", "author": "Afforess", "contact": "", "dependencies": [ - "base >= 0.17.0" + "base >= 0.17.35" ], "homepage": "https://github.com/Afforess/Factorio-Stdlib", "description": "The Factorio Standard Library is a project to bring Factorio modders high-quality, commonly-required utilities and tools." diff --git a/stdlib/scripts/quickstart.lua b/stdlib/scripts/quickstart.lua index e6c46994..509f3f45 100644 --- a/stdlib/scripts/quickstart.lua +++ b/stdlib/scripts/quickstart.lua @@ -79,7 +79,7 @@ function quickstart.on_player_created(event) local power_armor = QS.get('power_armor', 'fake') if player.character and game.item_prototypes[power_armor] then --Put on power armor, install equipment - player.get_inventory(defines.inventory.player_armor).insert(power_armor) + player.get_inventory(defines.inventory.character_armor).insert(power_armor) local grid = player.character.grid if grid then for _, eq in pairs(QS.get('equipment', {'fusion-reactor-equipment'})) do