From ad8d68c06aa67ba6d9249f583b9cbb9a60fe1e02 Mon Sep 17 00:00:00 2001 From: Paramat Date: Sun, 28 Apr 2019 00:44:26 +0100 Subject: [PATCH] Remove unnecessary CSM warning (#8485) --- src/client/client.cpp | 9 ++------- 1 file 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; }