]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Relocate includes to prevent pipeline failure
authorotta8634 <k9wolf@pm.me>
Sun, 22 Dec 2024 17:26:01 +0000 (01:26 +0800)
committerotta8634 <k9wolf@pm.me>
Sun, 22 Dec 2024 17:26:01 +0000 (01:26 +0800)
Not sure why these includes are located here anyway.

qcsrc/menu/xonotic/guide/guide.qh

index f44bd2c0cd58496b69f1f3a4b4decab7a6a5f912..de9d085fcaa51d6f2658e2c3001191e7da1a7e9f 100644 (file)
@@ -64,17 +64,17 @@ REGISTRY_SOURCE(FreetextSource, Guide, GuidePages)
 REGISTRY_SOURCE(GametypeSource, Gametypes, Gametypes)
 // The descriptions for these are in common/gamemodes/gamemode/*/*.qh
 
-#include <common/items/all.qh>
-REGISTRY_SOURCE(ItemSource, Items, Items, !it.instanceOfPowerup)
-// The descriptions for these are in common/items/item/*.qc and common/mutators/mutator/instagib/items.qc
+#include <common/mutators/mutator/buffs/buffs.qh>
+REGISTRY_SOURCE(BuffSource, Buffs, StatusEffect, it.instanceOfBuff)
+// The descriptions for these are in common/mutators/mutator/buffs/all.inc
 
 #include <common/mutators/mutator/powerups/powerup/_mod.qh>
 REGISTRY_SOURCE(PowerupSource, Powerups, Items, it.instanceOfPowerup)
 // The descriptions for these are in common/mutators/mutator/powerups/powerup/*.qc and common/items/item/jetpack.qc
 
-#include <common/mutators/mutator/buffs/buffs.qh>
-REGISTRY_SOURCE(BuffSource, Buffs, StatusEffect, it.instanceOfBuff)
-// The descriptions for these are in common/mutators/mutator/buffs/all.inc
+#include <common/items/all.qh>
+REGISTRY_SOURCE(ItemSource, Items, Items, !it.instanceOfPowerup)
+// The descriptions for these are in common/items/item/*.qc and common/mutators/mutator/instagib/items.qc
 
 #include <common/mutators/mutator/nades/nades.qh>
 REGISTRY_SOURCE(NadeSource, Nades, Nades)