mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Remove unnecessary CSM warning (#8485)
This commit is contained in:
parent
b839a6dd54
commit
ad8d68c06a
1 changed files with 2 additions and 7 deletions
|
@ -121,15 +121,10 @@ Client::Client(
|
|||
|
||||
void Client::loadMods()
|
||||
{
|
||||
// Don't load mods twice
|
||||
if (m_mods_loaded) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Don't load mods twice.
|
||||
// If client scripting is disabled by the client, don't load builtin or
|
||||
// client-provided mods.
|
||||
if (!m_modding_enabled) {
|
||||
warningstream << "Client side scripting is disabled by client." << std::endl;
|
||||
if (m_mods_loaded || !m_modding_enabled) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue