From: Rudolf Polzer Date: Tue, 8 Oct 2013 21:46:05 +0000 (+0200) Subject: MinstaGib really should use SetModname... :( X-Git-Tag: xonotic-v0.8.0~298 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7ddcceb3975e8849a66a683bfd28b98d4996e1a2;p=xonotic%2Fxonotic-data.pk3dir.git MinstaGib really should use SetModname... :( --- diff --git a/qcsrc/server/mutators/mutator_minstagib.qc b/qcsrc/server/mutators/mutator_minstagib.qc index 0d90ea362..f82817d12 100644 --- a/qcsrc/server/mutators/mutator_minstagib.qc +++ b/qcsrc/server/mutators/mutator_minstagib.qc @@ -405,6 +405,12 @@ MUTATOR_HOOKFUNCTION(minstagib_BuildMutatorsPrettyString) return FALSE; } +MUTATOR_HOOKFUNCTION(minstagib_SetModname) +{ + modname = "MinstaGib"; + return TRUE; +} + MUTATOR_DEFINITION(mutator_minstagib) { MUTATOR_HOOK(MatchEnd, minstagib_MatchEnd, CBC_ORDER_ANY); @@ -425,6 +431,7 @@ MUTATOR_DEFINITION(mutator_minstagib) MUTATOR_HOOK(OnEntityPreSpawn, minstagib_OnEntityPreSpawn, CBC_ORDER_ANY); MUTATOR_HOOK(BuildMutatorsString, minstagib_BuildMutatorsString, CBC_ORDER_ANY); MUTATOR_HOOK(BuildMutatorsPrettyString, minstagib_BuildMutatorsPrettyString, CBC_ORDER_ANY); + MUTATOR_HOOK(SetModname, minstagib_SetModname, CBC_ORDER_ANY); return FALSE; }