diff options
author | Paramat <paramat@users.noreply.github.com> | 2019-04-28 00:44:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-28 00:44:26 +0100 |
commit | ad8d68c06aa67ba6d9249f583b9cbb9a60fe1e02 (patch) | |
tree | f8ca7f030120d35a32902307a8e507f62ae40ddd /src | |
parent | b839a6dd5425c334e6528ae230f05ca5b15cc3a1 (diff) | |
download | minetest-ad8d68c06aa67ba6d9249f583b9cbb9a60fe1e02.tar.gz minetest-ad8d68c06aa67ba6d9249f583b9cbb9a60fe1e02.tar.bz2 minetest-ad8d68c06aa67ba6d9249f583b9cbb9a60fe1e02.zip |
Remove unnecessary CSM warning (#8485)
Diffstat (limited to 'src')
-rw-r--r-- | src/client/client.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/client/client.cpp b/src/client/client.cpp index a4a379a73..78e077fc3 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -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; } |