aboutsummaryrefslogtreecommitdiff
path: root/gamemode/itemsystem
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/itemsystem')
-rw-r--r--gamemode/itemsystem/items/runeexplosive.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/gamemode/itemsystem/items/runeexplosive.lua b/gamemode/itemsystem/items/runeexplosive.lua
index 35b280f..9718fab 100644
--- a/gamemode/itemsystem/items/runeexplosive.lua
+++ b/gamemode/itemsystem/items/runeexplosive.lua
@@ -49,8 +49,8 @@ function ITEM:OnUse(user)
user:TakeDamage(40)
end
end
+ if(CLIENT) then return end
user:RemoveItem(self.Name,1)
- if(CLIENT) then return end
local exp = ents.Create("env_explosion")
exp:SetPos(user:GetPos())
exp:Fire("Explode","",0)