Skip to content

Commit

Permalink
1.6.05 Dev 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Mentrillum committed Mar 20, 2021
1 parent 7f8a41b commit 596c088
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/sf2.sp
Original file line number Diff line number Diff line change
Expand Up @@ -7981,7 +7981,7 @@ public Action Event_PlayerDeath(Handle event, const char[] name, bool dB)
int npcIndex2 = NPCGetFromEntIndex(GetEntPropEnt(inflictor, Prop_Send, "m_hOwnerEntity"));
if (npcIndex2 != -1)
{
int iSlender = NPCGetEntIndex(npcIndex);
int iSlender = NPCGetEntIndex(npcIndex2);
if (iSlender && iSlender != INVALID_ENT_REFERENCE) g_iPlayerBossKillSubject[iClient] = EntIndexToEntRef(iSlender);

char npcProfile[SF2_MAX_PROFILE_NAME_LENGTH], buffer[PLATFORM_MAX_PATH];
Expand Down

0 comments on commit 596c088

Please sign in to comment.