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 GitHub
parent 39d604ae6c
commit ab8bbbd118
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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