]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix indenting in Item_RespawnCountdown()
authorbones_was_here <bones_was_here@xonotic.au>
Mon, 3 Oct 2022 06:35:31 +0000 (16:35 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Mon, 3 Oct 2022 06:35:31 +0000 (16:35 +1000)
qcsrc/server/items/items.qc

index 63bff8b46b398ac5f4c8c036cc2d47b13a16295b..ea325eeebb12cd4a735ff3f9375e73b0ebe90952 100644 (file)
@@ -248,13 +248,13 @@ void Item_RespawnCountdown(entity this)
                                }
                        } while (0);
                        bool mutator_returnvalue = MUTATOR_CALLHOOK(Item_RespawnCountdown, this);
-            if(this.waypointsprite_attached)
-            {
-                GameItem def = this.itemdef;
-                if (Item_ItemsTime_SpectatorOnly(def) && !mutator_returnvalue)
-                    WaypointSprite_UpdateRule(this.waypointsprite_attached, 0, SPRITERULE_SPECTATOR);
-                WaypointSprite_UpdateBuildFinished(this.waypointsprite_attached, time + ITEM_RESPAWN_TICKS);
-            }
+                       if(this.waypointsprite_attached)
+                       {
+                               GameItem def = this.itemdef;
+                               if (Item_ItemsTime_SpectatorOnly(def) && !mutator_returnvalue)
+                                       WaypointSprite_UpdateRule(this.waypointsprite_attached, 0, SPRITERULE_SPECTATOR);
+                               WaypointSprite_UpdateBuildFinished(this.waypointsprite_attached, time + ITEM_RESPAWN_TICKS);
+                       }
                }
 
                if(this.waypointsprite_attached)