mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix client "double saving" simple singleplayer local maps
This commit is contained in:
parent
5413ed1195
commit
26cf98ccfc
3 changed files with 9 additions and 4 deletions
|
@ -2103,9 +2103,11 @@ bool Game::connectToServer(const std::string &playername,
|
|||
return false;
|
||||
}
|
||||
|
||||
client = new Client(device, playername.c_str(), password, *draw_control,
|
||||
texture_src, shader_src, itemdef_manager, nodedef_manager, sound,
|
||||
eventmgr, connect_address.isIPv6());
|
||||
client = new Client(device,
|
||||
playername.c_str(), password, simple_singleplayer_mode,
|
||||
*draw_control, texture_src, shader_src,
|
||||
itemdef_manager, nodedef_manager, sound, eventmgr,
|
||||
connect_address.isIPv6());
|
||||
|
||||
if (!client)
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue