forked from Mirrorlandia_minetest/minetest
Remove unnecessary CSM warning (#8485)
This commit is contained in:
parent
b839a6dd54
commit
ad8d68c06a
@ -121,15 +121,10 @@ Client::Client(
|
|||||||
|
|
||||||
void Client::loadMods()
|
void Client::loadMods()
|
||||||
{
|
{
|
||||||
// Don't load mods twice
|
// Don't load mods twice.
|
||||||
if (m_mods_loaded) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// If client scripting is disabled by the client, don't load builtin or
|
// If client scripting is disabled by the client, don't load builtin or
|
||||||
// client-provided mods.
|
// client-provided mods.
|
||||||
if (!m_modding_enabled) {
|
if (m_mods_loaded || !m_modding_enabled) {
|
||||||
warningstream << "Client side scripting is disabled by client." << std::endl;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user