Skip to content

Commit ad8d68c

Browse files
authoredApr 27, 2019
Remove unnecessary CSM warning (#8485)
1 parent b839a6d commit ad8d68c

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed
 

‎src/client/client.cpp

+2-7
Original file line numberDiff line numberDiff line change
@@ -121,15 +121,10 @@ Client::Client(
121121

122122
void Client::loadMods()
123123
{
124-
// Don't load mods twice
125-
if (m_mods_loaded) {
126-
return;
127-
}
128-
124+
// Don't load mods twice.
129125
// If client scripting is disabled by the client, don't load builtin or
130126
// client-provided mods.
131-
if (!m_modding_enabled) {
132-
warningstream << "Client side scripting is disabled by client." << std::endl;
127+
if (m_mods_loaded || !m_modding_enabled) {
133128
return;
134129
}
135130

0 commit comments

Comments
 (0)