mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Added message of the day and made it properly configurable using /#setting (not saved to config file yet)
This commit is contained in:
@@ -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.";
|
||||
}
|
||||
|
Reference in New Issue
Block a user