Fix map generation

This commit is contained in:
madmaurice 2017-10-15 20:32:16 +02:00 committed by Hive
parent 9565b854b7
commit 46cf3d2f51
2 changed files with 2 additions and 2 deletions

View file

@ -15,4 +15,4 @@ ADD bin/entrypoint.sh /entrypoint.sh
ADD default-config.json config/default.json
ENTRYPOINT ["/entrypoint.sh"]
CMD ["--server-settings", "config/default.json"]
CMD ["--server-settings", "config/config.json","--map-gen-settings","config/mapgen.json","--map-settings","config/map.json"]

View file

@ -5,6 +5,6 @@ FACTORIO_BIN=/root/factorio/bin/x64/factorio
WORLDNAME=/root/saves/world.zip
# Create savefile, if none exists
[ ! -f ${WORLDNAME} ] && ${FACTORIO_BIN} --create ${WORLDNAME}
[ ! -f ${WORLDNAME} ] && ${FACTORIO_BIN} --create ${WORLDNAME} "$@"
exec ${FACTORIO_BIN} --start-server ${WORLDNAME} "$@"