Item pickup bug fix

master
AlmTech Software 5 years ago
parent 307972ea61
commit 69f5916dcc
  1. 1
      entities/entities/q_item/init.lua

@ -26,6 +26,7 @@ local useStartTime
local useDelay = Quantum.ItemPickupTime local useDelay = Quantum.ItemPickupTime
function ENT:Use( activator, caller ) function ENT:Use( activator, caller )
-- FIX reset start time POST use
if( activator:IsPlayer() ) then if( activator:IsPlayer() ) then
if( self.itemid != nil && self.amount != nil ) then if( self.itemid != nil && self.amount != nil ) then
useStartTime = useStartTime || CurTime() useStartTime = useStartTime || CurTime()

Loading…
Cancel
Save