Add support for gane steam.

This commit is contained in:
2022-02-25 23:28:30 +01:00
parent 3785871dad
commit d6da484657
3 changed files with 48 additions and 0 deletions

View File

@ -1481,6 +1481,20 @@ if $allow_game_fifa21_out ; then
done
IFS="$CUR_IFS"
fi
if $allow_game_steam_out ; then
IFS=',' ; for _port in $standard_game_steam_udp_ports ; do
if containsElement "${_port}" "${out_udp_port_arr[@]}" ; then
continue
fi
game_ports_udp_arr+=("$_port")
out_udp_port_arr+=("$_port")
done
IFS="$CUR_IFS"
fi
declare -a game_ports_tcp_arr
@ -1554,6 +1568,20 @@ if $allow_game_fifa21_out ; then
done
IFS="$CUR_IFS"
fi
if $allow_game_steam_out ; then
IFS=',' ; for _port in $standard_game_steam_tcp_ports ; do
if containsElement "${_port}" "${out_tcp_port_arr[@]}" ; then
continue
fi
game_ports_tcp_arr+=("$_port")
out_tcp_port_arr+=("$_port")
done
IFS="$CUR_IFS"
fi
# ==================================================
# END: gather out ports