1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-03-03 14:53:01 +02:00

Only add the market item when market is enabled

This commit is contained in:
Lynn 2018-10-08 21:17:13 +02:00
parent 1632f81d13
commit 9ab7679171

View File

@ -42,7 +42,9 @@ local function player_created(event)
return
end
player.insert {name = MARKET_ITEM, count = 10}
if (global.scenario.config.fish_market.enable) then
player.insert {name = MARKET_ITEM, count = 10}
end
player.insert {name = 'iron-gear-wheel', count = 8}
player.insert {name = 'iron-plate', count = 16}
player.print('Welcome to our Server. You can join our Discord at: redmew.com/discord')