mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Tool definition transfer to client
This commit is contained in:
@@ -660,6 +660,8 @@ void the_game(
|
||||
server = new Server(map_dir, configpath);
|
||||
server->start(port);
|
||||
}
|
||||
|
||||
{ // Client scope
|
||||
|
||||
/*
|
||||
Create client
|
||||
@@ -2341,8 +2343,11 @@ void the_game(
|
||||
gui_shuttingdowntext->remove();*/
|
||||
}
|
||||
|
||||
} // Client scope (must be destructed before destructing *def and tsrc
|
||||
|
||||
delete tooldef;
|
||||
delete tsrc;
|
||||
delete nodedef;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user