Fix map generation
This commit is contained in:
parent
9565b854b7
commit
46cf3d2f51
2 changed files with 2 additions and 2 deletions
|
@ -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"]
|
||||
|
|
|
@ -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} "$@"
|
||||
|
|
Loading…
Reference in a new issue