Merge pull request #1 from JetBoom/master

renew
This commit is contained in:
Ben Clark 2014-12-27 14:37:07 +00:00
commit 7f6861a126

View file

@ -183,7 +183,7 @@ function ENT:Use(activator, caller)
activator:RemoveAmmo(togive, "smg1") activator:RemoveAmmo(togive, "smg1")
activator:RestartGesture(ACT_GMOD_GESTURE_ITEM_GIVE) activator:RestartGesture(ACT_GMOD_GESTURE_ITEM_GIVE)
self:EmitSound("npc/turret_floor/click1.wav") self:EmitSound("npc/turret_floor/click1.wav")
gamemode.Call("PlayerRepairedObject", activator, self, togive * 1.5, self) --gamemode.Call("PlayerRepairedObject", activator, self, togive * 1.5, self)
end end
else else
self:SetObjectOwner(activator) self:SetObjectOwner(activator)