File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
addons/sourcemod/scripting Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -345,9 +345,12 @@ public void OnMapEnd()
345345
346346public void OnClientPutInServer (int client )
347347{
348- if (( ! g_bIsDamageGameOn && ! g_bIsVIPModeOn )) //|| IsFakeClient(client) || IsClientSourceTV(client) )
348+ if (! g_bIsDamageGameOn && ! g_bIsVIPModeOn )
349349 return ;
350350
351+ if (IsFakeClient (client ))
352+ return ;
353+
351354 SDKHook (client , SDKHook_OnTakeDamagePost , OnTakeDamagePost );
352355}
353356
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ Action Cmd_DamageGame(int client, int args)
3939 g_bIsDamageGameOn = ! g_bIsDamageGameOn ;
4040 CPrintToChatAll (" %s Damage Game is now {olive } %s ." , DamageGame_Tag , (g_bIsDamageGameOn ) ? " Enabled" : " Disabled" );
4141
42- if (g_bIsDamageGameOn )
42+ if (g_bIsDamageGameOn )
4343 {
4444 /* Events Hooks */
4545 FunModes_HookEvent (g_bEvent_RoundStart , " round_start" , Event_RoundStart );
You can’t perform that action at this time.
0 commit comments