mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Added message of the day and made it properly configurable using /#setting (not saved to config file yet)
This commit is contained in:
parent
4b0c3e4357
commit
9b294ffa7a
5 changed files with 65 additions and 3 deletions
|
@ -142,7 +142,8 @@ void cmd_setting(std::wostringstream &os,
|
|||
return;
|
||||
}
|
||||
|
||||
std::string confline = wide_to_narrow(ctx->parms[1] + L" = " + ctx->parms[2]);
|
||||
std::string confline = wide_to_narrow(
|
||||
ctx->parms[1] + L" = " + ctx->paramstring);
|
||||
g_settings.parseConfigLine(confline);
|
||||
os<< L"-!- Setting changed.";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue