mirror of
https://github.com/celisej567/source-sdk-2013.git
synced 2026-01-04 10:10:02 +03:00
Fix related interactions having greater delays stomped out
This commit is contained in:
@@ -15303,7 +15303,8 @@ void CAI_BaseNPC::StartScriptedNPCInteraction( CAI_BaseNPC *pOtherNPC, ScriptedN
|
||||
|
||||
if ( Matcher_NamesMatch( pszInteraction, STRING( pOtherInteraction->iszInteractionName ) ) && pOtherInteraction != pInteraction )
|
||||
{
|
||||
pOtherInteraction->flNextAttemptTime = pInteraction->flNextAttemptTime;
|
||||
if (pOtherInteraction->flNextAttemptTime < pInteraction->flNextAttemptTime)
|
||||
pOtherInteraction->flNextAttemptTime = pInteraction->flNextAttemptTime;
|
||||
|
||||
// Not looking for multiple
|
||||
if (!bWildCard)
|
||||
|
||||
Reference in New Issue
Block a user