]> git.lizzy.rs Git - dragonfireclient.git/commit - src/client/game.cpp
CSM restrictions: Make 'LOAD_CLIENT_MODS' disable loading of 'builtin' (#8000)
authorParamat <paramat@users.noreply.github.com>
Thu, 3 Jan 2019 11:10:07 +0000 (11:10 +0000)
committerLoïc Blot <nerzhul@users.noreply.github.com>
Thu, 3 Jan 2019 11:10:07 +0000 (12:10 +0100)
commitceacff13a666779d75ac48f2cc5c11bc2ce5c6e1
treead82bd3a44ced8af130f372fb1c3df8d389b3bdd
parentc26eab6319b64089a32e43cf1626f9583947572a
CSM restrictions: Make 'LOAD_CLIENT_MODS' disable loading of 'builtin' (#8000)

Previously, when the CSM restriction 'LOAD_CLIENT_MODS' was used a
client was still able to add CSM code to 'builtin' to bypass that
restriction, because 'builtin' is not yet verified.

Until server-sent CSM and verifying of 'builtin' are complete, make
'LOAD_CLIENT_MODS' disable the loading of builtin.

Clarify code comments and messages to distinguish between client-side
modding and client-side scripting. 'Scripting' includes 'builtin',
'modding' does not.
builtin/settingtypes.txt
src/client/client.cpp
src/client/game.cpp
src/network/networkprotocol.h