File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040# Reset the argument list
4141set -- " ${original_args[@]} "
4242
43+ # Remove -gathermod from args
44+ filtered_args=()
45+ while [[ $# -gt 0 ]]; do
46+ if [[ $1 != " -gathermod" ]]; then
47+ filtered_args+=(" $1 " )
48+ fi
49+ shift
50+ done
51+ set -- " ${filtered_args[@]} "
52+
4353server_64_dll=" $game_dir /bin/linux64/server.so"
4454
4555is_64_bit=0
Original file line number Diff line number Diff line change 2626# trap 'echo "Received SIGTERM, shutting down gracefully..." && kill -TERM $!' SIGTERM
2727# trap 'echo "Received SIGPIPE, shutting down gracefully..." && continue' SIGPIPE
2828
29- ${SLR_SNIPER_PATH} --devel -- ./tc2_linux64 -steam -particles 1 -nobreakpad -nominidumps " $@ " +ip 127.0.0.1
29+ ${SLR_SNIPER_PATH} --devel -- ./tc2_linux64 -steam -gathermod - particles 1 -nobreakpad -nominidump " $@ " +ip 127.0.0.1
3030
3131popd > /dev/null
You can’t perform that action at this time.
0 commit comments