From: bones_was_here Date: Mon, 3 Oct 2022 06:35:31 +0000 (+1000) Subject: Fix indenting in Item_RespawnCountdown() X-Git-Tag: xonotic-v0.8.6~340^2~3 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=a1ce0351fb90a2950611e31869da8382f1f2c6cc Fix indenting in Item_RespawnCountdown() --- diff --git a/qcsrc/server/items/items.qc b/qcsrc/server/items/items.qc index 63bff8b46..ea325eeeb 100644 --- a/qcsrc/server/items/items.qc +++ b/qcsrc/server/items/items.qc @@ -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)