1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00

Ensure trainsaviour is loaded first

This commit is contained in:
Lynn 2019-01-03 19:17:53 +01:00
parent 30f1a023f6
commit 0d89e8b09c
2 changed files with 3 additions and 7 deletions

View File

@ -184,10 +184,6 @@ global.config = {
donator_messages = {
enabled = true,
},
-- saves players' lives if they have a small-plane in their inventory, also adds the small-plan to the market
train_saviour = {
enabled = true,
},
player_colors = {
enabled = true,
},

View File

@ -17,6 +17,9 @@ require 'features.player_create'
require 'features.user_groups'
-- Feature modules, each can be disabled safely
if config.train_saviour.enabled then
require 'features.train_saviour'
end
if config.autodeconstruct.enabled then
require 'features.autodeconstruct'
end
@ -35,9 +38,6 @@ end
if config.donator_messages.enabled then
require 'features.donator_messages'
end
if config.train_saviour.enabled then
require 'features.train_saviour'
end
if config.fish_market.enabled then
require 'features.fish_market'
end