if(modname != "Xonotic")
if(modname != "MinstaGib")
if(modname != "CTS")
+ if(modname != "NIX")
if(modname != "NewToys")
pure = 0;
BADCVAR("g_maplist_votable_nodetail");
BADCVAR("g_maplist_votable_suggestions");
BADCVAR("g_maxplayers");
- BADCVAR("g_minstagib");
BADCVAR("g_mirrordamage");
BADCVAR("g_nexball_goallimit");
BADCVAR("g_powerups");
BADPREFIX("g_warmup_");
BADPREFIX("sv_ready_restart_");
+ // mutators that announce themselves properly to the server browser
+ BADCVAR("g_minstagib");
+ BADCVAR("g_new_toys");
+ BADCVAR("g_nix");
+
if(autocvar_g_minstagib)
{
BADCVAR("g_grappling_hook");
return 0;
}
+MUTATOR_HOOKFUNCTION(nix_SetModname)
+{
+ modname = "NIX";
+ return 0;
+}
+
MUTATOR_DEFINITION(mutator_nix)
{
entity e;
MUTATOR_HOOK(OnEntityPreSpawn, nix_OnEntityPreSpawn, CBC_ORDER_ANY);
MUTATOR_HOOK(PlayerPreThink, nix_PlayerPreThink, CBC_ORDER_ANY);
MUTATOR_HOOK(PlayerSpawn, nix_PlayerSpawn, CBC_ORDER_ANY);
+ MUTATOR_HOOK(SetModname, nix_SetModname, CBC_ORDER_LAST);
MUTATOR_ONADD
{