nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 15 lines 709 B view raw
1diff --git a/simple64-gui/netplay/joinroom.cpp b/simple64-gui/netplay/joinroom.cpp 2index 3b5c34e..68b46f2 100644 3--- a/simple64-gui/netplay/joinroom.cpp 4+++ b/simple64-gui/netplay/joinroom.cpp 5@@ -308,7 +308,9 @@ void JoinRoom::processTextMessage(QString message) 6 } 7 else 8 { 9- msgBox.setText(json.value("message").toString()); 10+ QString msg = json.value("message").toString(); 11+ if(msg == "Bad authentication code") msg += "<br>Note: using the official netplay servers is not allowed on unofficial builds.<br>You can host your own server with `simple64-netplay-server`"; 12+ msgBox.setText(msg); 13 msgBox.exec(); 14 } 15 }