mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Tool definition transfer to client
This commit is contained in:
parent
0754f2a7af
commit
4b8e4dae58
7 changed files with 92 additions and 9 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue