1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 16:45:20 +02:00

[CSM] Add enable_client_modding param (default: false)

This commit is contained in:
nerzhul
2017-03-13 15:55:30 +01:00
committed by Loïc Blot
parent 0727bb3ddd
commit 44ca9c9cb2
9 changed files with 41 additions and 14 deletions

View File

@@ -245,7 +245,9 @@ void ClientEnvironment::step(float dtime)
}
}
m_script->environment_step(dtime);
if (m_client->moddingEnabled()) {
m_script->environment_step(dtime);
}
/*
A quick draft of lava damage