mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-10 19:32:10 +00:00
Remove unneeded freeminer code.
This commit is contained in:
parent
eae9fa4e95
commit
9ff9b30e0f
10 changed files with 9 additions and 428 deletions
|
@ -50,18 +50,6 @@ void lan_get() {
|
|||
lan_adv_client.ask();
|
||||
}
|
||||
|
||||
/*
|
||||
if (ask_str.empty()) {
|
||||
Json::Value j;
|
||||
j["cmd"] = "ask";
|
||||
j["proto_min"] = Server::getProtocolVersionMin();
|
||||
j["proto_max"] = Server::getProtocolVersionMax();
|
||||
ask_str = fastWriteJson(j);
|
||||
|
||||
};
|
||||
lan_adv_client.send_string(ask_str);
|
||||
*/
|
||||
|
||||
bool lan_fresh() {
|
||||
auto result = lan_adv_client.fresh.load();
|
||||
lan_adv_client.fresh = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue