[android] Don't set NetPlayRoomAddress pref on create
Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
9634342100
commit
792c029905
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue