Skip to content

Commit

Permalink
Update system.pwn
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaFoxze authored Aug 6, 2024
1 parent 2f40cc2 commit 7eb39d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sources/pawno/include/sources/game-modes/tdm/system.pwn
Original file line number Diff line number Diff line change
Expand Up @@ -1376,9 +1376,6 @@ static ShowResultRound(session_id)
static HideResultMatch(session_id)
{
ResetTopPlayers(session_id);
ResetTopBots(session_id);
n_for(npcid, 5) {
FCNPC_SetPosition(npc_top_kills[session_id][npcid], 0.0, 0.0, 0.0);
FCNPC_SetSkin(npc_top_kills[session_id][npcid], 0);
Expand All @@ -1398,6 +1395,9 @@ static HideResultMatch(session_id)
if(IsValidDynamic3DTextLabel(npc_3DText[session_id][npcid]))
DestroyDynamic3DTextLabel(npc_3DText[session_id][npcid]);
}
ResetTopPlayers(session_id);
ResetTopBots(session_id);
return 1;
}
Expand Down Expand Up @@ -4482,4 +4482,4 @@ stock TDM_OnPlayerText(playerid, text[])
#define OnVehicleSpawn TDM_OnVehicleSpawn
#if defined TDM_OnVehicleSpawn
forward TDM_OnVehicleSpawn(vehicleid);
#endif
#endif

0 comments on commit 7eb39d3

Please sign in to comment.