Netplay should be disabled by default and only enabled when acting as a client or a host.

This commit is contained in:
fewtarius 2023-08-13 17:56:48 +00:00
parent ef1a3c02a8
commit 64db100028
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -78,6 +78,9 @@ fi
### perhaps rewrite to use ^ functionality
[[ ${PLATFORM} = "ports" ]] && RETROARCH="yes"
# Make sure netplay isn't defined before we start our tests/configuration.
del_setting netplay.mode
# check if we started as host for a game
if [[ "$arguments" == *"--host"* ]]; then
NETPLAY="${arguments##*--host}" # read from --host onwards