]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
MinstaGib really should use SetModname... :(
authorRudolf Polzer <divverent@xonotic.org>
Tue, 8 Oct 2013 21:46:05 +0000 (23:46 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Tue, 8 Oct 2013 21:46:05 +0000 (23:46 +0200)
qcsrc/server/mutators/mutator_minstagib.qc

index 0d90ea36219510db62e2ff2308d4bd6fff283054..f82817d12d1ecba1fcc73fbbc04dd7f53f8fa8cf 100644 (file)
@@ -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;
 }