Honor AUTOLOAD_EXTENSIONS in clientprefs include (#1718)

* Optional autoload extensions

* revert autoload for cstrike/tf2
This commit is contained in:
Kyle 2022-04-21 19:44:24 +08:00 committed by Your Name
parent b25d25890a
commit ec92653bb7

View File

@ -331,7 +331,11 @@ public Extension __ext_cprefs =
{
name = "Client Preferences",
file = "clientprefs.ext",
#if defined AUTOLOAD_EXTENSIONS
autoload = 1,
#else
autoload = 0,
#endif
#if defined REQUIRE_EXTENSIONS
required = 1,
#else