From 83a233b34c40fe6321c119887b057365a2e06804 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Thu, 31 Dec 2015 20:29:41 -0500 Subject: Added faiure messages to admin commands --- gamemode/itemsystem/items/runeexplosive.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gamemode/itemsystem/items/runeexplosive.lua') 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) -- cgit v1.2.3-70-g09d2