]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix a few mutator names
authorterencehill <piuntn@gmail.com>
Thu, 31 Mar 2022 23:51:16 +0000 (01:51 +0200)
committerterencehill <piuntn@gmail.com>
Thu, 31 Mar 2022 23:51:16 +0000 (01:51 +0200)
qcsrc/common/mutators/mutator/instagib/sv_instagib.qc
qcsrc/common/mutators/mutator/melee_only/sv_melee_only.qc
qcsrc/common/util.qc

index 2abb0b5967483dcf11383b5b417bd367f89a6c29..2131228ebf2e47a13a7676b0e09d5c9fad16caac 100644 (file)
@@ -453,7 +453,7 @@ MUTATOR_HOOKFUNCTION(mutator_instagib, BuildMutatorsString)
 
 MUTATOR_HOOKFUNCTION(mutator_instagib, BuildMutatorsPrettyString)
 {
-       M_ARGV(0, string) = strcat(M_ARGV(0, string), ", instagib");
+       M_ARGV(0, string) = strcat(M_ARGV(0, string), ", InstaGib");
 }
 
 MUTATOR_HOOKFUNCTION(mutator_instagib, SetModname)
index 2596770daa57be0c2b595873d79f18ecb40ee66f..ec031730e5ee60e1b94e642bec059657f53644db 100644 (file)
@@ -48,5 +48,5 @@ MUTATOR_HOOKFUNCTION(melee_only, BuildMutatorsString)
 
 MUTATOR_HOOKFUNCTION(melee_only, BuildMutatorsPrettyString)
 {
-       M_ARGV(0, string) = strcat(M_ARGV(0, string), ", Melee Only Arena");
+       M_ARGV(0, string) = strcat(M_ARGV(0, string), ", Melee only Arena");
 }
index f1c5f96cb5396c78a0c8d6df7a33e42e4ed107c7..1b3dce4b88f4c5835a313af830bbe6a15a554340 100644 (file)
@@ -254,7 +254,7 @@ string build_mutator_list(string s)
                X("Cloaked"                   , _("Cloaked")                   , MUT_CLOAKED                   , cvar("g_cloaked"))
                X("Hook"                      , _("Hook")                      , MUT_GRAPPLING_HOOK            , cvar("g_grappling_hook"))
                X("Midair"                    , _("Midair")                    , MUT_MIDAIR                    , cvar("g_midair"))
-               X("Melee only"                , _("Melee only")                , MUT_MELEE_ONLY                , cvar("g_melee_only"))
+               X("Melee only Arena"          , _("Melee only Arena")          , MUT_MELEE_ONLY                , cvar("g_melee_only"))
                X("Vampire"                   , _("Vampire")                   , MUT_VAMPIRE                   , cvar("g_vampire"))
                X("Piñata"                    , _("Piñata")                    , MUT_PINATA                    , cvar("g_pinata"))
                X("Weapons stay"              , _("Weapons stay")              , MUT_WEAPON_STAY               , cvar("g_weapon_stay"))