[android] Don't set NetPlayRoomAddress pref on create

Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
crueter 2025-08-03 22:05:11 -04:00
parent 9634342100
commit 792c029905
Signed by: crueter
GPG key ID: 425ACD2D4830EBC6

View file

@ -552,7 +552,7 @@ class NetPlayDialog(context: Context) : BottomSheetDialog(context) {
if (result == 0) { if (result == 0) {
StringSetting.WEB_USERNAME.setString(username) StringSetting.WEB_USERNAME.setString(username)
NetPlayManager.setRoomPort(activity, portStr) NetPlayManager.setRoomPort(activity, portStr)
NetPlayManager.setRoomAddress(activity, ipAddress)
if (!isCreateRoom) NetPlayManager.setRoomAddress(activity, ipAddress) if (!isCreateRoom) NetPlayManager.setRoomAddress(activity, ipAddress)
Toast.makeText( Toast.makeText(