]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove note about rifle in ammo buff to prevent pipeline failure
authorotta8634 <k9wolf@pm.me>
Mon, 6 Jan 2025 17:28:37 +0000 (01:28 +0800)
committerotta8634 <k9wolf@pm.me>
Mon, 6 Jan 2025 17:28:37 +0000 (01:28 +0800)
I'm not sure how to properly include within .inc files, evidently what I tried didn't work.

qcsrc/common/mutators/mutator/buffs/all.inc

index a4cca013d4aa6acdab768e026597a9c797ffb174..332b831bda5abe32a9591a21513956e14e5070b8 100644 (file)
@@ -1,5 +1,3 @@
-#include <common/weapons/weapon/rifle.qh>
-
 string Buff_CompatName(string buffname)
 {
     switch(buffname)
@@ -28,8 +26,8 @@ CLASS(AmmoBuff, Buff)
     {
         TC(AmmoBuff, this);
         return sprintf(_("The %s gives you infinite ammo until the buff expires, so you don't need to worry about running out of ammo\n\n"
-            "It also removes the need to reload any weapons that require reloading, like the %s"),
-        COLORED_NAME_WITH_CONCAT(this, _("Buff")), COLORED_NAME(WEP_RIFLE));
+            "It also removes the need to reload any weapons that require reloading"),
+        COLORED_NAME_WITH_CONCAT(this, _("Buff")));
     }
 #endif
 ENDCLASS(AmmoBuff)