projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b839a6d
)
Remove unnecessary CSM warning (#8485)
author
Paramat
<paramat@users.noreply.github.com>
Sat, 27 Apr 2019 23:44:26 +0000
(
00:44
+0100)
committer
GitHub
<noreply@github.com>
Sat, 27 Apr 2019 23:44:26 +0000
(
00:44
+0100)
src/client/client.cpp
patch
|
blob
|
history
diff --git
a/src/client/client.cpp
b/src/client/client.cpp
index a4a379a731af7d88af2d222ce3e79b38819fcb1c..78e077fc3954b15a4708c3bc092f3834c37e4fb3 100644
(file)
--- 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;
}