]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Update check-cvars.sh to only disallow changing extra settings in custom balance...
authorotta8634 <k9wolf@pm.me>
Sat, 1 Mar 2025 11:09:08 +0000 (19:09 +0800)
committerotta8634 <k9wolf@pm.me>
Sat, 1 Mar 2025 11:24:44 +0000 (19:24 +0800)
commitba73bc70ad2e0cad719cffc6875e4199e8b7223c
tree07b03f4818ee4d01346ec55243c7b96d49f52a7f
parent5a498ae97ba11d1efdc33d65d0d96ba0dd189b6b
Update check-cvars.sh to only disallow changing extra settings in custom balance files

Now custom balance files like balance-overkill.cfg don't have to change every single cvar balance-xonotic.cfg does, so that the same defaults don't need to repeated for every single balance file.
The only requirement now is that balance-overkill.cfg can't set any cvars which aren't also set in balance-xonotic.cfg.
This doesn't apply to the hud cfg files, since they're compared against _hud_descriptions.cfg, which doesn't set defaults, so they must do it themselves.
Changes weren't made to the cfg files in question yet.
check-cvars.sh