REGISTER_MUTATOR(dom, false)
{
+ MUTATOR_STATIC();
MUTATOR_ONADD
{
- if (time > 1) // game loads at time 1
- error("This is a game type and it cannot be added at runtime.");
dom_Initialize();
int fraglimit_override = autocvar_g_domination_point_limit;
GameRules_limit_score(fraglimit_override);
GameRules_limit_lead(autocvar_g_domination_point_leadlimit);
}
-
- MUTATOR_ONREMOVE
- {
- LOG_INFO("This is a game type and it cannot be removed at runtime.");
- return -1;
- }
-
return 0;
}