MUTATOR_HOOKFUNCTION(ca, PlayerDamage_SplitHealthArmor)
{
+ if (time < game_starttime || (round_handler_IsActive() && !round_handler_IsRoundStarted()))
+ return;
+
entity frag_attacker = M_ARGV(1, entity);
entity frag_target = M_ARGV(2, entity);
float frag_damage = M_ARGV(7, float);
{
entity s;
- if(game_stopped || time < game_starttime
- || (round_handler_IsActive() && !round_handler_IsRoundStarted()))
+ if(game_stopped)
{
score = 0;
}
bool mutator_returnvalue = MUTATOR_CALLHOOK(AddPlayerScore, scorefield, score, player);
score = M_ARGV(1, float);
- if((!mutator_returnvalue && game_stopped) || time < game_starttime
- || (round_handler_IsActive() && !round_handler_IsRoundStarted()))
+ if(!mutator_returnvalue && game_stopped)
{
score = 0;
}