mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-25 04:35:17 +00:00
change default IP
This might otherwise cause confusion with the server.json setting, which should stay at 0.0.0.0. 127.0.0.1 might at least work with emulators running on the same PC out of the box. Whereas 0.0.0.0 should be invalid (except on some systems that map it to localhost).
This commit is contained in:
parent
b3b49bd547
commit
dd4f3202ae
2 changed files with 3 additions and 3 deletions
|
@ -44,7 +44,7 @@ void saveWriteHook(al::ByamlWriter* saveByml) {
|
|||
if (serverIP) {
|
||||
saveByml->addString("ServerIP", serverIP);
|
||||
} else {
|
||||
saveByml->addString("ServerIP", "0.0.0.0");
|
||||
saveByml->addString("ServerIP", "127.0.0.1");
|
||||
}
|
||||
|
||||
if (serverPort) {
|
||||
|
|
|
@ -230,7 +230,7 @@ bool Client::startConnection() {
|
|||
if (mServerIP.isEmpty() || isOverride) {
|
||||
mKeyboard->setHeaderText(u"Save File does not contain an IP!");
|
||||
mKeyboard->setSubText(u"Please set a Server IP Below.");
|
||||
mServerIP = "0.0.0.0";
|
||||
mServerIP = "127.0.0.1";
|
||||
Client::openKeyboardIP();
|
||||
isNeedSave = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue