Skip to content

Commit

Permalink
Fix #445
Browse files Browse the repository at this point in the history
  • Loading branch information
Bara committed Oct 31, 2019
1 parent b46c16c commit ea96932
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions addons/sourcemod/scripting/ttt/ttt.sp
Original file line number Diff line number Diff line change
Expand Up @@ -3418,7 +3418,9 @@ public int TTT_OnButtonPress(int client, int button)
}
else if (res == Plugin_Changed)
{
g_aRagdoll.SetArray(i, iRagdollC[0]);
// g_aRagdoll.SetArray(i, iRagdollC[0]);
g_aRagdoll.Erase(i);
g_aRagdoll.PushArray(iRagdollC[0]);
return;
}

Expand Down Expand Up @@ -3535,7 +3537,9 @@ public int TTT_OnButtonPress(int client, int button)
Call_PushCell(silentID);
Call_Finish();
}
g_aRagdoll.SetArray(i, iRagdollC[0]);
// g_aRagdoll.SetArray(i, iRagdollC[0]);
g_aRagdoll.Erase(i);
g_aRagdoll.PushArray(iRagdollC[0]);
break;
}
}
Expand Down

0 comments on commit ea96932

Please sign in to comment.