Skip to content
Permalink
Browse files

Remove unnecessary CSM warning (#8485)

  • Loading branch information...
paramat committed Apr 27, 2019
1 parent b839a6d commit ad8d68c06aa67ba6d9249f583b9cbb9a60fe1e02
Showing with 2 additions and 7 deletions.
  1. +2 −7 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;
}

0 comments on commit ad8d68c

Please sign in to comment.
You can’t perform that action at this time.