mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2025-07-14 13:05:28 +02:00
Added no auto pause feature
This commit is contained in:
@ -26,11 +26,17 @@ if [ "$FACTORIO_DISSALOW_COMMANDS" == false ]; then
|
||||
else
|
||||
disallow_commands="--disallow-commands"
|
||||
fi
|
||||
if [ "$FACTORIO_NO_AUTO_PAUSE" == true ]; then
|
||||
no_auto_pause="--no-auto-pause"
|
||||
else
|
||||
no_auto_pause=""
|
||||
fi"
|
||||
echo "###"
|
||||
echo "# Launching Game"
|
||||
echo "###"
|
||||
exec /opt/factorio/bin/x64/factorio \
|
||||
$disallow_commands \
|
||||
$no-auto-pause \
|
||||
--autosave-interval ${FACTORIO_AUTOSAVE_INTERVAL} \
|
||||
--autosave-slots ${FACTORIO_AUTOSAVE_SLOTS} \
|
||||
--start-server \
|
||||
|
Reference in New Issue
Block a user