mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-04 11:04:28 +00:00
Do not use targets second time
This commit is contained in:
parent
d7ee53ec34
commit
ab9523769a
@ -176,7 +176,8 @@ CBaseEntity* CItem::Respawn( void )
|
||||
UTIL_SetOrigin( pev, m_SpawnPoint );// blip to whereever you should respawn.
|
||||
|
||||
SetThink( &CItem::Materialize );
|
||||
pev->nextthink = g_pGameRules->FlItemRespawnTime( this );
|
||||
pev->nextthink = g_pGameRules->FlItemRespawnTime( this );
|
||||
pev->target = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user