mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-14 10:13:13 +02:00
Merge pull request #228 from iltar/only-add-market-item-when-enabled
Only add the market item when market is enabled
This commit is contained in:
commit
3f77f8a737
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user