Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(map): Streamline behaviour for the
ttt2_enable_map_prefix_
convars
* Unconditionally create gm, ttt and ttt2 prefixes We can reasonably assume `gm` maps to be present on the server, the same goes for `ttt` and `ttt2` maps. Even if either or both of them are not currently installed on the server creating these unconditionally would allow an admin to configure their behaviour in that case. Creating convars dynamically if we find more map prefixes is still done. * Disable all map prefixes but `ttt` and `ttt2` by default We will assume people only want to run maps intended for ttt(2). Given that the prefix selection can be modified on the same admin settings page that is (currently) the only one using these convars this seems fine. * Drop FCVAR_NOTIFY for all `map_prefix_enabled` convars Given that these are purely used in an admin context there is no need to announce changes to all users on the server. The last changes especially fixes the original Issue #1632
- Loading branch information