Use query port instead of rcon to check alive status
This commit is contained in:
parent
62a302c54b
commit
e20ade2e95
3 changed files with 12 additions and 2 deletions
|
@ -113,7 +113,10 @@ class HomePageState extends State<HomePage> {
|
|||
C2SUploadSettingsPacket upload = C2SUploadSettingsPacket();
|
||||
upload.srvSettings = settings.serialize();
|
||||
|
||||
settings.client!.send(upload, false);
|
||||
await settings.client!.send(upload, false);
|
||||
Settings.Clear();
|
||||
|
||||
setState(() {});
|
||||
|
||||
Navigator.pop(context);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue